PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IProject Interface
IProject Interface
Provides information about the currently executing project.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public interface IProject : IServiceLocator, 
	IService

The IProject type exposes the following members.

Properties
  NameDescription
Public propertyStateStore
Gets the context of the current project that serves as a project-scoped cache.
Public propertyTargetFramework
Gets the variant and version of the .NET Framework that the assembly being built targets.
Methods
  NameDescription
Public methodEvaluateExpression
Evaluates an expression (that is, replace parameters by their actual value).
Public methodGetExtensionElements
Gets the set of project extension elements (ProjectExtensionElement) given their name and XML namespace.
Public methodGetFrameworkVariantObsolete.
Gets the variant of the .NET Framework against which the .NET assembly currently processed is linked.
Public methodGetService<T>
Gets a build-time service exposed by PostSharp.
Public methodGetTargetAssembly
Gets the assembly that is being transformed by PostSharp.
See Also