PostSharp5.0/API Reference/Post­Sharp.​Aspects Namespace/Aspect­Utilities Class/Aspect­Utilities Methods

AspectUtilities Methods

The AspectUtilities type exposes the following members.

Methods
  NameDescription
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