PostSharp//API Reference/Post­Sharp.​Aspects/Location­Level­Aspect
Open sandboxFocus

Class LocationLevelAspect

Base class for aspects defined in fields, properties, or parameters.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[MulticastAttributeUsage]
[Serializer]
public abstract class LocationLevelAspect : Aspect, ILocationLevelAspect, IAspect, ILocationLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation

Constructors

Name Description
LocationLevelAspect() PostSharp.Aspects.LocationLevelAspect

Methods

Name Description
CompileTimeInitialize(LocationInfo, AspectInfo)

Method invoked at build time to initialize the instance fields of the current aspect. This method is invoked before any other build-time method.

CompileTimeValidate(LocationInfo)

Method invoked at build time to ensure that the aspect has been applied to the right target.

CompileTimeValidate(Object)

Method invoked at build time to ensure that the aspect has been applied to the right target.

RuntimeInitialize(LocationInfo)

Initializes the current aspect.

SetAspectConfiguration(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.

SetAspectConfiguration(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.