PostSharp4.3/API Reference/Post­Sharp.​Aspects Namespace/Aspect­Utilities Class
AspectUtilities Class
Utility methods for PostSharp.Aspects.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.AspectUtilities

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public sealed class AspectUtilities

The AspectUtilities type exposes the following members.

Constructors
  NameDescription
Public methodAspectUtilities
Initializes a new instance of the AspectUtilities class
Methods
  NameDescription
Public methodStatic memberGetCurrentInstanceCredentialsObsolete.
Gets the InstanceCredentials of the calling instance. This method must be invoked from an instance method (not a static method) of a type that has been enhanced by an aspect.
Public methodStatic memberInitializeCurrentAspects
Initializes the all the aspects of the calling instance. This method must be invoked from an instance method (not a static method) of a type that has been enhanced by an aspect.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also