Runtime semantics of an aspect that, when applied on an event, intercepts invocations of its semantics Add
(OnAddHandler(EventInterceptionArgs)),
Remove
(OnRemoveHandler(EventInterceptionArgs)) and Invoke
(OnInvokeHandler(EventInterceptionArgs)) semantics.
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[HasInheritedAttribute]
public interface IEventInterceptionAspect : IEventLevelAspect, IAspect
Remarks
For details, see EventInterceptionAspect
Methods
Name | Description |
---|---|
OnAddHandler(EventInterceptionArgs) | Method invoked instead of the |
OnInvokeHandler(EventInterceptionArgs) | Method invoked when the event to which the current aspect is applied is fired, for each delegate of this event, and instead of invoking this delegate. |
OnRemoveHandler(EventInterceptionArgs) | Method invoked instead of the |