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

Class OnEventAddHandlerAdvice

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

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

Constructors

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