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

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.