PropertyDescriptor
public class PropertyDescriptor : IDictionaryKeyBuilder, IDictionaryPropertyGetter, IDictionaryPropertySetter, IDictionaryBehavior
Describes a dictionary property.
Gets the property behaviors.
Determines if property should be fetched.
Gets the getter.
Returns true if the property is dynamic.
Gets the key builders.
Gets the property.
Gets the property name.
Gets the property type.
Gets the setter.
Gets additional state.
Determines if notifications should occur.
Gets the type converter.
public PropertyDescriptor()
Initializes an empty PropertyDescriptor class.
Initializes a new instance of the PropertyDescriptor class.
Copies an existinginstance of the PropertyDescriptor class.
Adds the behaviors.
Adds the behaviors.
Adds the behaviors from the builders.
Adds the dictionary getter.
Adds the dictionary getters.
Adds the key builder.
Adds the key builders.
Adds the dictionary setter.
Adds the dictionary setters.
Copies the behaviors to the other PropertyDescriptor
public PropertyDescriptor CopyBehaviors(PropertyDescriptor other, Func<IDictionaryBehavior, bool> selector)
Copies the behaviors to the other PropertyDescriptor
Copies the property getters to the other PropertyDescriptor
public PropertyDescriptor CopyGetters(PropertyDescriptor other, Func<IDictionaryPropertyGetter, bool> selector)
Copies the selected property getters to the other PropertyDescriptor
Copies the key builders to the other PropertyDescriptor
public PropertyDescriptor CopyKeyBuilders(PropertyDescriptor other, Func<IDictionaryKeyBuilder, bool> selector)
Copies the selected key builders to the other PropertyDescriptor
Copies the property setters to the other PropertyDescriptor
public PropertyDescriptor CopySetters(PropertyDescriptor other, Func<IDictionaryPropertySetter, bool> selector)
Copies the selected property setters to the other PropertyDescriptor
public string GetKey(IDictionaryAdapter dictionaryAdapter, string key, PropertyDescriptor descriptor)
Gets the key.
public object GetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, object storedValue, PropertyDescriptor descriptor, bool ifExists)
Gets the property value.
public bool SetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, ref object value, PropertyDescriptor descriptor)
Sets the property value.