PostSharpAPI ReferencePost­Sharp.​ExtensibilityPost­Sharp­Environment
Open sandboxFocus

PostSharpEnvironment Class

Provides access to the current PostSharp environment (IPostSharpEnvironment).

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

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.