IProject Interface
In Metalama, use IProject.
Namespace: PostSharp.Extensibility
Assembly: Metalama.Migration.dll
Syntax
[InternalImplement]
public interface IProject : IServiceLocator, IService
Properties
Name | Description |
---|---|
StateStore | There is no equivalent in Metalama. However, storing state in static fields or properties is equally dangerous than in PostSharp. |
TargetAssembly | In Metalama, an assembly is an ICompilation, but it is not exposed on the project. |
Methods
Name | Description |
---|---|
EvaluateExpression(String) | In Metalama, use TryGetProperty(String, out String). |
GetExtensionElements(String, String) | In Metalama, use Extension<T>(). |
GetService<T>(Boolean) | In Metalama, use ServiceProvider. |