<PackageReference Include="castle.core" Version="2.5.2" />

PropertyDescriptor

Describes a dictionary property.
public object[] Behaviors { get; }

Gets the property behaviors.

public int ExecutionOrder { get; }

public bool Fetch { get; set; }

Determines if property should be fetched.

Gets the getter.

public bool IsDynamicProperty { get; }

Returns true if the property is dynamic.

Gets the key builders.

public PropertyInfo Property { get; }

Gets the property.

public string PropertyName { get; }

Gets the property name.

public Type PropertyType { get; }

Gets the property type.

Gets the setter.

public IDictionary State { get; }

Gets additional state.

public bool SuppressNotifications { get; set; }

Determines if notifications should occur.

public TypeConverter TypeConverter { get; }

Gets the type converter.

Initializes an empty PropertyDescriptor class.

public PropertyDescriptor(PropertyInfo property, object[] behaviors)

Initializes a new instance of the PropertyDescriptor class.

public PropertyDescriptor(PropertyDescriptor source, bool copyBehaviors)

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

Copies the behaviors to the other PropertyDescriptor

Copies the property getters to the other PropertyDescriptor

Copies the selected property getters to the other PropertyDescriptor

Copies the key builders to the other PropertyDescriptor

Copies the selected key builders to the other PropertyDescriptor

Copies the property setters to the other PropertyDescriptor

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.

protected virtual void InternalAddBehavior(IDictionaryBehavior behavior)

public bool SetPropertyValue(IDictionaryAdapter dictionaryAdapter, string key, ref object value, PropertyDescriptor descriptor)

Sets the property value.