Class DeclarationEnhancements<T>
Gives access to the aspects and annotations on a declaration.
Namespace: Metalama.Framework.Code
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public sealed class DeclarationEnhancements<T> : ValueType where T : class, IDeclaration
Type Parameters
Name | Description |
---|---|
T |
Methods
Name | Description |
---|---|
GetAspects<TAspect>() | Gets the set of instances of a specified type of aspects that have been applied to a specified declaration. |
HasAspect(Type) | |
HasAspect<TAspect>() |