C# Класс Castle.Components.DictionaryAdapter.PropertyDescriptor

Наследование: IDictionaryKeyBuilder, IDictionaryPropertyGetter, IDictionaryPropertySetter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
InternalAddBehavior ( IDictionaryBehavior behavior ) : void
PropertyDescriptor ( object behaviors ) : System

Initializes a new instance PropertyDescriptor class.

Приватные методы

Метод Описание
ObtainTypeConverter ( ) : void

Описание методов

AddBehavior() публичный Метод

Adds the behaviors.
public AddBehavior ( ) : PropertyDescriptor
Результат PropertyDescriptor

AddBehaviors() публичный Метод

Adds the behaviors from the builders.
public AddBehaviors ( ) : PropertyDescriptor
Результат PropertyDescriptor

AddBehaviors() публичный Метод

Adds the behaviors.
public AddBehaviors ( IEnumerable behaviors ) : PropertyDescriptor
behaviors IEnumerable
Результат PropertyDescriptor

AddGetter() публичный Метод

Adds the dictionary getter.
public AddGetter ( ) : PropertyDescriptor
Результат PropertyDescriptor

AddGetters() публичный Метод

Adds the dictionary getters.
public AddGetters ( IEnumerable gets ) : PropertyDescriptor
gets IEnumerable The getters.
Результат PropertyDescriptor

AddKeyBuilder() публичный Метод

Adds the key builder.
public AddKeyBuilder ( ) : PropertyDescriptor
Результат PropertyDescriptor

AddKeyBuilders() публичный Метод

Adds the key builders.
public AddKeyBuilders ( IEnumerable builders ) : PropertyDescriptor
builders IEnumerable The builders.
Результат PropertyDescriptor

AddSetter() публичный Метод

Adds the dictionary setter.
public AddSetter ( ) : PropertyDescriptor
Результат PropertyDescriptor

AddSetters() публичный Метод

Adds the dictionary setters.
public AddSetters ( IEnumerable sets ) : PropertyDescriptor
sets IEnumerable The setters.
Результат PropertyDescriptor

Copy() публичный Метод

Copies the PropertyDescriptor
public Copy ( ) : IDictionaryBehavior
Результат IDictionaryBehavior

CopyBehaviors() публичный Метод

Copies the behaviors to the other PropertyDescriptor
public CopyBehaviors ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Результат PropertyDescriptor

CopyGetters() публичный Метод

Copies the property getters to the other PropertyDescriptor
public CopyGetters ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Результат PropertyDescriptor

CopyKeyBuilders() публичный Метод

Copies the key builders to the other PropertyDescriptor
public CopyKeyBuilders ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Результат PropertyDescriptor

CopySetters() публичный Метод

Copies the property setters to the other PropertyDescriptor
public CopySetters ( PropertyDescriptor other ) : PropertyDescriptor
other PropertyDescriptor
Результат PropertyDescriptor

GetKey() публичный Метод

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.
Результат string

GetPropertyValue() публичный Метод

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.
Результат object

InternalAddBehavior() защищенный Метод

protected InternalAddBehavior ( IDictionaryBehavior behavior ) : void
behavior IDictionaryBehavior
Результат void

PropertyDescriptor() публичный Метод

Initializes an empty PropertyDescriptor class.
public PropertyDescriptor ( ) : System
Результат System

PropertyDescriptor() публичный Метод

Copies an existinginstance of the PropertyDescriptor class.
public PropertyDescriptor ( PropertyDescriptor source, bool copyBehaviors ) : System
source PropertyDescriptor
copyBehaviors bool
Результат System

PropertyDescriptor() публичный Метод

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.
Результат System

PropertyDescriptor() защищенный Метод

Initializes a new instance PropertyDescriptor class.
protected PropertyDescriptor ( object behaviors ) : System
behaviors object
Результат System

SetPropertyValue() публичный Метод

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.
Результат bool