This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

AspectUtilities Class

Utility methods for PostSharp.Aspects.
Inheritance Hierarchy
System.Object
  PostSharp.Aspects.AspectUtilities

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.34.0 (5.0.34.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
Top
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.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also