PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Post­Sharp­Environment Class / Post­Sharp­Environment Properties

PostSharpEnvironment Properties

The PostSharpEnvironment type exposes the following members.

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