Open sandboxFocus

Interface IAspect<T>

The base interface for all aspects, with the type parameter indicating to which types of declarations the aspect can be added.

Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
public interface IAspect<in T> : IAspect, ICompileTimeSerializable, ITemplateProvider, IEligible<T> where T : class, IDeclaration
Type Parameters
Name Description
T

Methods

Name Description
BuildAspect(IAspectBuilder<T>)

Initializes the aspect. The implementation must add advice, child aspects and validators using the builder parameter.

Extension Methods