Metalama 1.0 / / Metalama Documentation / Aspect API / Metalama.​Framework.​Code / Declaration­Extensions / Enhancements

Method Enhancements

Enhancements<T>(T)

Gets an object that gives access to the aspects on the current declaration.

Declaration
public static DeclarationEnhancements<T> Enhancements<T>(this T declaration)
where T : class, IDeclaration
Parameters
Type Name Description
T declaration
Returns
Type Description
DeclarationEnhancements<T>
Type Parameters
Name Description
T