Open sandboxFocus

Class AssemblyLevelAspect

In Metalama, use CompilationAspect.

Inheritance
AssemblyLevelAspect
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 false is to call SkipAspect().

CompileTimeValidate(Assembly)

In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>). The equivalent of returning false is to call SkipAspect().

SetAspectConfiguration(AspectConfiguration, object)

Not supported in Metalama.

SetAspectConfiguration(AspectConfiguration, Assembly)

Not supported in Metalama.