Open sandboxFocus

Class PostSharpEnvironment

Provides access to the current PostSharp environment (IPostSharpEnvironment).

Inheritance
PostSharpEnvironment
Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public static class PostSharpEnvironment

Properties

Name Description
Current

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

CurrentProject

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

IsPostSharpRunning

Gets a value indicating whether the PostSharp Platform is currently loaded.