PostSharp 6.4 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Post­Sharp­Environment Class / Post­Sharp­Environment Properties / Post­Sharp­Environment.​Current Property

PostSharpEnvironment.Current Property

Gets the current PostSharp environment, or null if the PostSharp Platform is not loaded in the current context.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public static IPostSharpEnvironment Current { get; }

Property Value

Type: IPostSharpEnvironment
See Also