PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Aspect Class / Aspect Methods

Aspect Methods

The Aspect type exposes the following members.

Public methodCompileTimeValidate
Method invoked at build time to ensure that the aspect has been applied to the right target.
Protected methodCreateAspectConfiguration
Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type.
Public methodGetAspectConfiguration
Method invoked at build tome to get the imperative configuration of the current Aspect.
Protected methodSetAspectConfiguration
Method invoked at build time to set up an AspectConfiguration object according to the current Aspect instance and a specified target element of the current aspect.
See Also