Class FieldLevelAspect
Base class for all aspects applied on fields.
Implements
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[Serializer]
public abstract class FieldLevelAspect : Aspect, IFieldLevelAspect, IAspect, IFieldLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation
Constructors
Name | Description |
---|---|
FieldLevelAspect() |
Methods
Name | Description |
---|---|
CompileTimeInitialize(FieldInfo, 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(Object) | Method invoked at build time to ensure that the aspect has been applied to the right target. |
CompileTimeValidate(FieldInfo) | Method invoked at build time to ensure that the aspect has been applied to the right target. |
RuntimeInitialize(FieldInfo) | Method invoked at runtime before any other method of the aspect is invoked. |
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. |
SetAspectConfiguration(AspectConfiguration, FieldInfo) | 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. |