C# Class Castle.Components.DictionaryAdapter.PropertyDescriptor

Inheritance: IDictionaryKeyBuilder, IDictionaryPropertyGetter, IDictionaryPropertySetter
Afficher le fichier Open project: Jarvin-Guan/CleanAOP Class Usage Examples

Méthodes publiques

Méthode Description
AddBehavior ( ) : PropertyDescriptor

Adds the behaviors.

AddBehaviors ( ) : PropertyDescriptor

Adds the behaviors from the builders.

AddBehaviors ( IEnumerable behaviors ) : PropertyDescriptor

Adds the behaviors.

AddGetter ( ) : PropertyDescriptor

Adds the dictionary getter.

AddGetters ( IEnumerable gets ) : PropertyDescriptor

Adds the dictionary getters.

AddKeyBuilder ( ) : PropertyDescriptor

Adds the key builder.

AddKeyBuilders ( IEnumerable builders ) : PropertyDescriptor

Adds the key builders.

AddSetter ( ) : PropertyDescriptor

Adds the dictionary setter.

AddSetters ( IEnumerable sets ) : PropertyDescriptor

Adds the dictionary setters.

Copy ( ) : IDictionaryBehavior

Copies the PropertyDescriptor

CopyBehaviors ( PropertyDescriptor other ) : PropertyDescriptor

Copies the behaviors to the other PropertyDescriptor

CopyGetters ( PropertyDescriptor other ) : PropertyDescriptor

Copies the property getters to the other PropertyDescriptor

CopyKeyBuilders ( PropertyDescriptor other ) : PropertyDescriptor

Copies the key builders to the other PropertyDescriptor

CopySetters ( PropertyDescriptor other ) : PropertyDescriptor

Copies the property setters to the other PropertyDescriptor

GetKey ( IDictionaryAdapter dictionaryAdapter, String key, PropertyDescriptor descriptor ) : string

Gets the key.

GetPropertyValue ( IDictionaryAdapter dictionaryAdapter, string key, object storedValue, PropertyDescriptor descriptor, bool ifExists ) : object

Gets the property value.

PropertyDescriptor ( ) : System

Initializes an empty PropertyDescriptor class.

PropertyDescriptor ( PropertyDescriptor source, bool copyBehaviors ) : System

Copies an existinginstance of the PropertyDescriptor class.

PropertyDescriptor ( PropertyInfo property, object behaviors ) : System

Initializes a new instance of the PropertyDescriptor class.

SetPropertyValue ( IDictionaryAdapter dictionaryAdapter, string key, object &value, PropertyDescriptor descriptor ) : bool

Sets the property value.

Méthodes protégées

Méthode Description
InternalAddBehavior ( IDictionaryBehavior behavior ) : void
PropertyDescriptor ( object behaviors ) : System

Initializes a new instance PropertyDescriptor class.

Private Methods

Méthode Description
ObtainTypeConverter ( ) : void

Method Details

AddBehavior() public méthode

Adds the behaviors.
public AddBehavior ( ) : PropertyDescriptor
Résultat PropertyDescriptor

AddBehaviors() public méthode

Adds the behaviors from the builders.
public AddBehaviors ( ) : PropertyDescriptor
Résultat PropertyDescriptor

AddBehaviors() public méthode

Adds the behaviors.
public AddBehaviors ( IEnumerable behaviors ) : PropertyDescriptor
behaviors IEnumerable
Résultat PropertyDescriptor

AddGetter() public méthode

Adds the dictionary getter.
public AddGetter ( ) : PropertyDescriptor
Résultat PropertyDescriptor

AddGetters() public méthode

Adds the dictionary getters.
public AddGetters ( IEnumerable gets ) : PropertyDescriptor
gets IEnumerable The getters.
Résultat PropertyDescriptor

AddKeyBuilder() public méthode

Adds the key builder.
public AddKeyBuilder ( ) : PropertyDescriptor
Résultat PropertyDescriptor

AddKeyBuilders() public méthode

Adds the key builders.
public AddKeyBuilders ( IEnumerable builders ) : PropertyDescriptor
builders IEnumerable The builders.
Résultat PropertyDescriptor

AddSetter() public méthode

Adds the dictionary setter.
public AddSetter ( ) : PropertyDescriptor
Résultat PropertyDescriptor

AddSetters() public méthode

Adds the dictionary setters.
public AddSetters ( IEnumerable sets ) : PropertyDescriptor
sets IEnumerable The setters.
Résultat PropertyDescriptor

Copy() public méthode

Copies the PropertyDescriptor
public Copy ( ) : IDictionaryBehavior
Résultat IDictionaryBehavior

CopyBehaviors() public méthode

Copies the behaviors to the other PropertyDescriptor
public CopyBehaviors ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Résultat PropertyDescriptor

CopyGetters() public méthode

Copies the property getters to the other PropertyDescriptor
public CopyGetters ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Résultat PropertyDescriptor

CopyKeyBuilders() public méthode

Copies the key builders to the other PropertyDescriptor
public CopyKeyBuilders ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Résultat PropertyDescriptor

CopySetters() public méthode

Copies the property setters to the other PropertyDescriptor
public CopySetters ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Résultat PropertyDescriptor

GetKey() public méthode

Gets the key.
public GetKey ( IDictionaryAdapter dictionaryAdapter, String key, PropertyDescriptor descriptor ) : string
dictionaryAdapter IDictionaryAdapter The dictionary adapter.
key String The key.
descriptor PropertyDescriptor The descriptor.
Résultat string

GetPropertyValue() public méthode

Gets the property value.
public GetPropertyValue ( IDictionaryAdapter dictionaryAdapter, string key, object storedValue, PropertyDescriptor descriptor, bool ifExists ) : object
dictionaryAdapter IDictionaryAdapter The dictionary adapter.
key string The key.
storedValue object The stored value.
descriptor PropertyDescriptor The descriptor.
ifExists bool true if return only existing.
Résultat object

InternalAddBehavior() protected méthode

protected InternalAddBehavior ( IDictionaryBehavior behavior ) : void
behavior IDictionaryBehavior
Résultat void

PropertyDescriptor() public méthode

Initializes an empty PropertyDescriptor class.
public PropertyDescriptor ( ) : System
Résultat System

PropertyDescriptor() public méthode

Copies an existinginstance of the PropertyDescriptor class.
public PropertyDescriptor ( PropertyDescriptor source, bool copyBehaviors ) : System
source PropertyDescriptor
copyBehaviors bool
Résultat System

PropertyDescriptor() public méthode

Initializes a new instance of the PropertyDescriptor class.
public PropertyDescriptor ( PropertyInfo property, object behaviors ) : System
property System.Reflection.PropertyInfo The property.
behaviors object The property behaviors.
Résultat System

PropertyDescriptor() protected méthode

Initializes a new instance PropertyDescriptor class.
protected PropertyDescriptor ( object behaviors ) : System
behaviors object
Résultat System

SetPropertyValue() public méthode

Sets the property value.
public SetPropertyValue ( IDictionaryAdapter dictionaryAdapter, string key, object &value, PropertyDescriptor descriptor ) : bool
dictionaryAdapter IDictionaryAdapter The dictionary adapter.
key string The key.
value object The value.
descriptor PropertyDescriptor The descriptor.
Résultat bool