PostSharpAPI ReferencePost­Sharp.​Aspects.​AdvicesOn­Event­Remove­Handler­Advice
Open sandboxFocus

Class OnEventRemoveHandlerAdvice

Custom attribute that, when applied on a method of an aspect class, specifies that this method is an advice having the same semantics as OnRemoveHandler(EventInterceptionArgs).

Inheritance
OnEventRemoveHandlerAdvice
Namespace: PostSharp.Aspects.Advices
Assembly: PostSharp.dll
Syntax
[RequiresEventInterceptionAdviceAnalysis]
[RequiresDebuggerEnhancement]
public sealed class OnEventRemoveHandlerAdvice : GroupingAdvice

Constructors

Name Description
OnEventRemoveHandlerAdvice() PostSharp.Aspects.Advices.OnEventRemoveHandlerAdvice