PostSharp//API Reference/Post­Sharp.​Extensibility/IProject
Open sandboxFocus

Interface IProject

Provides information about the currently executing project.

Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
[InternalImplement]
public interface IProject : IServiceLocator, IService

Properties

Name Description
StateStore

Gets the context of the current project that serves as a project-scoped cache.

TargetAssembly

Gets the assembly that is being transformed by PostSharp.

Methods

Name Description
EvaluateExpression(String)

Evaluates an expression (that is, replace parameters by their actual value).

GetExtensionElements(String, String)

Gets the set of project extension elements (ProjectExtensionElement) given their name and XML namespace.

GetService<T>(Boolean)

Gets a build-time service exposed by PostSharp.