Jurassic.Library.PropertyDescriptor.PropertyDescriptor C# (CSharp) Method

PropertyDescriptor() public method

Creates a new PropertyDescriptor instance with a getter function and, optionally, a setter function.
public PropertyDescriptor ( FunctionInstance getter, FunctionInstance setter, PropertyAttributes attributes ) : System
getter FunctionInstance The function to call to retrieve the property value.
setter FunctionInstance The function to call to set the property value.
attributes PropertyAttributes The property attributes (whether the property is writable or /// not is implied by whether there is a setter function).
return System
        public PropertyDescriptor(FunctionInstance getter, FunctionInstance setter, PropertyAttributes attributes)
            : this(new PropertyAccessorValue(getter, setter), attributes)
        {
        }

Same methods

PropertyDescriptor::PropertyDescriptor ( object value, PropertyAttributes attributes ) : System