Metalama//API Documentation/Aspect API/Metalama.​Framework.​Aspects/IAspect<T>/Build­Aspect
Open sandboxFocus

Method BuildAspect

BuildAspect(IAspectBuilder<T>)

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

Declaration
virtual void BuildAspect(IAspectBuilder<T> builder)
Parameters
Type Name Description
IAspectBuilder<T> builder

An object that allows the aspect to add advice, child aspects and validators.