PostSharp6.0/API Reference/Post­Sharp.​Aspects Namespace/Advice­Args Class/Advice­Args Constructor

AdviceArgs Constructor

Initializes a new AdviceArgs.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.0.35.0 (6.0.35.0)
Syntax
C#
public AdviceArgs(
	Object instance
)

Parameters

instance
Type: System.Object
The instance related to the advice invocation, or null if the advice is associated to a static element of code.
See Also