EventLevelAspect Class
In Metalama, use EventAspect.
Implements
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[MulticastAttributeUsage]
public abstract class EventLevelAspect : Aspect, IEventLevelAspect, IAspect, IEventLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation
Constructors
Name | Description |
---|---|
EventLevelAspect() |
Methods
Name | Description |
---|---|
CompileTimeInitialize(EventInfo, 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(EventInfo) | In Metalama, validation is done in BuildEligibility(IEligibilityBuilder<T>) and BuildAspect(IAspectBuilder<T>).
The equivalent of returning |
RuntimeInitialize(EventInfo) | In Metalama, add an initializer from the BuildAspect(IAspectBuilder<T>)
method using |
SetAspectConfiguration(AspectConfiguration, Object) | |
SetAspectConfiguration(AspectConfiguration, EventInfo) | Not supported in Metalama. |