Open sandboxFocus

Method Enhancements

Enhancements<T>(T)

Gets an object that gives access to the aspects, options and annotations on the current declaration.

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

The declaration.

Returns
Type Description
DeclarationEnhancements<T>

A DeclarationEnhancements<T> object for accessing aspects, options, and annotations.

Type Parameters
Name Description
T

The type of the declaration.