메소드 | 설명 | |
---|---|---|
AddAttribute ( |
Adds a new attribute to a attributes collection or modify an existing attribute. It checks whether a given attribute exists and adds it if its not there. If it is there, then it will add the arguments available in the new attribute but not available in the existing attribute.
|
|
AttributableCodeDomObject ( |
||
FindAttribute ( string attributeName ) : |
This method finds the attribute as specified by attribute parameter. This method initially looks up an internal attribute cache. If the attribute is not found in the cache, it searches for it in the actual object extended by this instance. If the attribute is found, this method adds it to internal cache causing the faster access time in the subsequent requests. |
|
FindAttributes ( string attributeName ) : IEnumerable |
Finds all instances of the attribute with the specified name.
|
|
RemoveAttribute ( |
Removes the attribute from the custom attributes collection of the type.
|
메소드 | 설명 | |
---|---|---|
SyncSourceAttributes ( |
|
public AddAttribute ( |
||
attribDecl | ||
리턴 | bool |
public AttributableCodeDomObject ( |
||
extendedObject | ||
리턴 | System |
public FindAttribute ( string attributeName ) : |
||
attributeName | string | |
리턴 |
public FindAttributes ( string attributeName ) : IEnumerable |
||
attributeName | string | Name of the attribute. |
리턴 | IEnumerable |
public RemoveAttribute ( |
||
attribute | The attribute to remove. | |
리턴 | void |