PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IPost­Sharp­Environment Interface

IPostSharpEnvironment Interface

Provides information about the current PostSharp environment.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public interface IPostSharpEnvironment

The IPostSharpEnvironment type exposes the following members.

Properties
  NameDescription
Public propertyCurrentProject
Gets the currently executing project.
Methods
  NameDescription
Public methodFindAssembly(AssemblyName) Obsolete.
Public methodFindAssembly(AssemblyName, AssemblyLoadContext)
Finds the location of an assembly given its name.
Public methodLoadAssemblyFromFile
Loads an Assembly given its file name.
See Also