HasAspect(object, Type)
Determines whether an aspect of a given type has been applied to a given declaration.
Declaration
bool HasAspect(object declaration, Type aspectType)
Parameters
Type | Name | Description |
---|---|---|
object | declaration | The declaration on which the presence of the aspect must be checked. |
Type | aspectType | The type of aspect. |
Returns
Type | Description |
---|---|
bool |
|