PostSharp6.4/API Reference/Post­Sharp.​Extensibility Namespace/Post­Sharp­Environment Class

PostSharpEnvironment Class

Provides access to the current PostSharp environment (IPostSharpEnvironment).
Inheritance Hierarchy
System.Object
  PostSharp.Extensibility.PostSharpEnvironment

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public static class PostSharpEnvironment

The PostSharpEnvironment type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberCurrent
Gets the current PostSharp environment, or null if the PostSharp Platform is not loaded in the current context.
Public propertyStatic memberCurrentProject
Gets the current PostSharp project.
Public propertyStatic memberIsPostSharpRunning
Determines whether the PostSharp Platform is currently loaded.
See Also