PostSharp4.3/API Reference/Post­Sharp.​Aspects Namespace/Composition­Aspect Class/Composition­Aspect Methods
CompositionAspect Methods

The CompositionAspect type exposes the following members.

Methods
  NameDescription
Public methodCompileTimeInitialize
Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.
(Inherited from TypeLevelAspect.)
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from TypeLevelAspect.)
Public methodCompileTimeValidate(Type)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from TypeLevelAspect.)
Protected methodCreateAspectConfiguration
Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type.
(Overrides Aspect.CreateAspectConfiguration().)
Public methodCreateImplementationObject
Method invoked at runtime, during the initialization of instances of the target type, to create the composed object.
Public methodGetAspectConfiguration
Method invoked at build tome to get the imperative configuration of the current Aspect.
(Inherited from Aspect.)
Protected methodGetPublicInterfaces
Gets the array of interfaces that should be introduced publicly into the target type of the current aspect.
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from TypeLevelAspect.)
Protected methodSetAspectConfiguration(AspectConfiguration, Type)
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.
(Overrides TypeLevelAspect.SetAspectConfiguration(AspectConfiguration, Type).)
Protected methodSetAspectConfiguration(AspectConfiguration, Object)
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.
(Inherited from TypeLevelAspect.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also