In Metalama, use CompilationAspect.
Implements
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[MulticastAttributeUsage(MulticastTargets.Assembly)]
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
[Obsolete("In Metalama, use 'CompilationAspect'.", false)]
public abstract class AssemblyLevelAspect : Aspect, IAspectBuildSemantics, IValidableAnnotation, IAssemblyLevelAspect, IAssemblyLevelAspectBuildSemantics, IAspect
Constructors
Name | Description |
---|---|
AssemblyLevelAspect() |
Methods
Name | Description |
---|---|
CompileTimeInitialize(Assembly, 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(Assembly) | In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>).
The equivalent of returning |
SetAspectConfiguration(AspectConfiguration, object) | Not supported in Metalama. |
SetAspectConfiguration(AspectConfiguration, Assembly) | Not supported in Metalama. |