PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Model Namespace/Weak­Event­Attribute Class/Weak­Event­Attribute Methods

WeakEventAttribute Methods

The WeakEventAttribute 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 EventLevelAspect.)
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from EventLevelAspect.)
Public methodCompileTimeValidate(EventInfo)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from EventLevelAspect.)
Protected methodFinalize
Destructor.
(Overrides Object.Finalize().)
Public methodGetAspectConfiguration
Method invoked at build tome to get the imperative configuration of the current Aspect.
(Inherited from Aspect.)
See Also