Project "Caravela" 0.3 / / Caravela Documentation / API Documentation / Caravela.​Framework.​Aspects / IAspect / Build­Aspect­Class

Method BuildAspectClass

BuildAspectClass(IAspectClassBuilder)

Configures the static characteristics of the aspect, i.e. those that do not depend on the instance state of the aspect class. Implementations are not allowed to reference non-static members. Implementations must call the implementation of the base class if it exists.

Declaration
virtual void BuildAspectClass(IAspectClassBuilder builder)
Parameters
Type Name Description
IAspectClassBuilder builder

An object that allows the aspect to configure characteristics like description, dependencies, or layers.

Remarks

Do not reference instance class members in your implementation of BuildAspectClass(IAspectClassBuilder). Indeed, this method is called on an instance obtained using GetUninitializedObject(Type), that is, without invoking the class constructor.