In Metalama, use FieldOrPropertyAspect.
Implements
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[Obsolete("In Metalama, use 'FieldOrPropertyAspect'.", false)]
public abstract class FieldLevelAspect : Aspect, IFieldLevelAspect, IAspect, IFieldLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation
Constructors
Name | Description |
---|---|
FieldLevelAspect() |
Methods
Name | Description |
---|---|
CompileTimeInitialize(FieldInfo, AspectInfo) | In Metalama, aspect initialization is done in BuildAspect(IAspectBuilder<T>). |
CompileTimeValidate(object) | In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>).
The equivalent of returning |
CompileTimeValidate(FieldInfo) | In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>).
The equivalent of returning |
RuntimeInitialize(FieldInfo) | In Metalama, add an initializer from the BuildAspect(IAspectBuilder<T>) method by calling
|
SetAspectConfiguration(AspectConfiguration, object) | Not supported in Metalama. |
SetAspectConfiguration(AspectConfiguration, FieldInfo) | Not supported in Metalama. |