HasAspect(object, Type)
Use IDeclaration.Enhancements<T>(T).Any()
.
Declaration
bool HasAspect(object declaration, Type aspectType)
Parameters
Type | Name | Description |
---|---|---|
object | declaration | |
Type | aspectType |
Returns
Type | Description |
---|---|
bool |
Use IDeclaration.Enhancements<T>(T).Any()
.
bool HasAspect(object declaration, Type aspectType)
Type | Name | Description |
---|---|---|
object | declaration | |
Type | aspectType |
Type | Description |
---|---|
bool |