Метод | Описание | |
---|---|---|
Equals ( object obj ) : bool |
Compares this instance to the specified
|
|
GetHashCode ( ) : int |
Try to keep this reasonable in [....] with Equals(). Specifically, if A.Equals(B) returns true, A & B should have the same hash code.
|
Метод | Описание | |
---|---|---|
CreateAttributeCollection ( ) : |
Creates a collection of attributes using the array of attributes that you passed to the constructor.
|
|
FillAttributes ( IList attributeList ) : void |
In an inheriting class, adds the attributes of the inheriting class to the specified list of attributes in the parent class. For duplicate attributes, the last one added to the list will be kept.
|
|
FindMethod ( Type componentClass, string name, Type args, Type returnType ) : |
Finds the given method through reflection. This method only looks for public methods.
|
|
FindMethod ( Type componentClass, string name, Type args, Type returnType, bool publicOnly ) : |
Finds the given method through reflection.
|
|
GetInvocationTarget ( Type type, object instance ) : object |
This method returns the object that should be used during invocation of members. Normally the return value will be the same as the instance passed in. If someone associated another object with this instance, or if the instance is a custom type descriptor, GetInvocationTarget may return a different value.
|
|
GetSite ( object component ) : ISite |
Gets a component site for the given component.
|
|
MemberDescriptor ( |
Initializes a new instance of the
|
|
MemberDescriptor ( |
Initializes a new instance of the
|
|
MemberDescriptor ( string name ) : System.Collections |
Initializes a new instance of the
|
|
MemberDescriptor ( string name, Attribute attributes ) : System.Collections |
Initializes a new instance of the
|
Метод | Описание | |
---|---|---|
CheckAttributesValid ( ) : void |
Called each time we access the attribtes on this member descriptor to give deriving classes a chance to change them on the fly.
|
|
FilterAttributesIfNeeded ( ) : void | ||
GetInvokee ( Type componentClass, object component ) : object |
protected CreateAttributeCollection ( ) : |
||
Результат |
protected FillAttributes ( IList attributeList ) : void | ||
attributeList | IList | |
Результат | void |
protected static FindMethod ( Type componentClass, string name, Type args, Type returnType ) : |
||
componentClass | Type | |
name | string | |
args | Type | |
returnType | Type | |
Результат |
protected static FindMethod ( Type componentClass, string name, Type args, Type returnType, bool publicOnly ) : |
||
componentClass | Type | |
name | string | |
args | Type | |
returnType | Type | |
publicOnly | bool | |
Результат |
protected GetInvocationTarget ( Type type, object instance ) : object | ||
type | Type | |
instance | object | |
Результат | object |
protected static GetSite ( object component ) : ISite | ||
component | object | |
Результат | ISite |
protected MemberDescriptor ( |
||
descr | ||
Результат | System.Collections |
protected MemberDescriptor ( |
||
oldMemberDescriptor | ||
newAttributes | Attribute | |
Результат | System.Collections |
protected MemberDescriptor ( string name ) : System.Collections | ||
name | string | |
Результат | System.Collections |
protected MemberDescriptor ( string name, Attribute attributes ) : System.Collections | ||
name | string | |
attributes | Attribute | |
Результат | System.Collections |