<PackageReference Include="Castle.Core" Version="3.3.1" />

PropertyDescriptor

Describes a dictionary property.

public object[] Annotations { get; }

Gets the property behaviors.

Gets the setter.

public int ExecutionOrder { get; }

Gets the extended properties.

public bool Fetch { get; set; }

Determines if property should be fetched.

Gets the getter.

public bool IfExists { get; set; }

Determines if property must exist first.

Gets the initializers.

public bool IsDynamicProperty { get; }

Returns true if the property is dynamic.

Gets the key builders.

Gets the meta-data initializers.

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[] annotations)

Initializes a new instance of the PropertyDescriptor class.

public PropertyDescriptor(object[] annotations)

Initializes a new instance PropertyDescriptor class.

public PropertyDescriptor(PropertyDescriptor source, bool copyBehaviors)

Copies an existinginstance of the PropertyDescriptor class.

public static void MergeBehavior<T>(ref List dictionaryBehaviors, T behavior) where T : IDictionaryBehavior

Adds a single behavior.

Adds the behaviors.

Adds the behaviors.

Copies the PropertyDescriptor

Copies the behaviors 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.