PostSharp 4.3 / / 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public static IPostSharpEnvironment Current { get; }

Property Value

Type: IPostSharpEnvironment
See Also