PostSharp6.6//API Reference/Post­Sharp.​Aspects Namespace/Location­Interception­Aspect Class/Location­Interception­Aspect Methods

LocationInterceptionAspect Methods

The LocationInterceptionAspect 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 LocationLevelAspect.)
Public methodCompileTimeValidate(Object)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from LocationLevelAspect.)
Public methodCompileTimeValidate(LocationInfo)
Method invoked at build time to ensure that the aspect has been applied to the right target.
(Inherited from LocationLevelAspect.)
Protected methodCreateAspectConfiguration
Method invoked at build time to create a concrete AspectConfiguration instance specifically for the current Aspect type.
(Overrides Aspect.CreateAspectConfiguration().)
Public methodGetAspectConfiguration
Method invoked at build tome to get the imperative configuration of the current Aspect.
(Inherited from Aspect.)
Public methodOnGetValue
Method invoked instead of the Get semantic of the field or property to which the current aspect is applied, i.e. when the value of this field or property is retrieved.
Public methodOnInstanceLocationInitialized
Method invoked after an initial value is set for a field or property to which the current aspect is applied. The method is invoked only for instance fields and instance auto-implemented properties, and it is invoked after their inline initialization. For static fields and properties, and for accesses from the constructor, OnSetValue is invoked instead.
Public methodOnSetValue
Method invoked instead of the Set semantic of the field or property to which the current aspect is applied, i.e. when the value of this field or property is changed.
Public methodRuntimeInitialize
Initializes the current aspect.
(Inherited from LocationLevelAspect.)
Protected methodSetAspectConfiguration(AspectConfiguration, LocationInfo)
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 LocationLevelAspect.)
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 LocationLevelAspect.)
See Also