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.

IsPostSharpRunning

Determines whether the PostSharp Platform is currently loaded.