C# 클래스 Castle.Components.DictionaryAdapter.PropertyDescriptor

상속: IDictionaryKeyBuilder, IDictionaryPropertyGetter, IDictionaryPropertySetter
파일 보기 프로젝트 열기: Jarvin-Guan/CleanAOP 1 사용 예제들

공개 메소드들

메소드 설명
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