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>(bool)

Gets a build-time service exposed by PostSharp.