Post­Sharp Documentation / API Reference / Post­Sharp.​Aspects Namespace / Advice­Args Class

AdviceArgs Class

Base class for arguments of all advices.
Inheritance Hierarchy

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public class AdviceArgs

The AdviceArgs type exposes the following members.

Constructors
  NameDescription
Public methodAdviceArgs
Initializes a new AdviceArgs.
Properties
  NameDescription
Public propertyDeclarationIdentifier
Gets the DeclarationIdentifier of the declaration to which the advice has been applied.
Public propertyInstance
Gets or sets the object instance on which the method is being executed.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also