public static IsDecoratedWithAttribute ( Collection |
||
customAttributes | Collection |
|
attributeName | string | |
리턴 | bool |
public static bool IsDecoratedWithAttribute(Collection<CustomAttribute> customAttributes, string attributeName)
{
return GetAttribute(customAttributes, attributeName) != null;
}
CecilExtensions::IsDecoratedWithAttribute ( this typeDefinition, string attributeName ) : bool |