MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsEvent­Interception­Aspect
Open sandboxFocus

EventInterceptionAspect Class

In Metalama, use OverrideEventAspect. Overriding aspect invocation is not yet implemented in Metalama. There is currently no workaround.

Inheritance
EventInterceptionAspect
Namespace: PostSharp.Aspects
Assembly: Metalama.Migration.dll
Syntax
[MulticastAttributeUsage]
public abstract class EventInterceptionAspect : EventLevelAspect, IEventLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, IEventInterceptionAspect, IEventLevelAspect, IAspect

Constructors

Name Description
EventInterceptionAspect()

Methods

Name Description
CreateAspectConfiguration()
OnAddHandler(EventInterceptionArgs)

Use OverrideAdd(Object).

OnInvokeHandler(EventInterceptionArgs)

Overriding aspect invocation is not yet implemented in Metalama. There is currently no workaround.

OnRemoveHandler(EventInterceptionArgs)

Use OverrideRemove(Object).