MetalamaAPI documentationIntrospection APIMetalama.​Framework.​WorkspacesProject
Open sandboxFocus

Project Class

Represents a C# project for a specific compilation.

Inheritance
System.Object
Project
Namespace: Metalama.Framework.Workspaces
Assembly: Metalama.Framework.Workspaces.dll
Syntax
public sealed class Project : Object, IProjectSet, ICompilationSetResult, IIntrospectionCompilationDetails

Properties

Name Description
Advice
AspectClasses
AspectInstances
AspectLayers
Diagnostics
HasMetalamaSucceeded

Gets a value indicating whether the processing of the compilation by Metalama was successful for all projects in the current set. This property returns true if the Metalama compilation process completed successfully, even if it resulted the compilation processes reported errors. These errors would be visible in the Diagnostics collection.

IsMetalamaEnabled

Gets a value indicating whether Metalama is enabled on this project.

Name
Path
SourceCode
TargetFramework
Transformations
TransformedCode
Types

Gets the set of types defined in the project, including nested types.

Methods

Name Description
GetDeclaration(String, String, String, Boolean)
GetSubset(Predicate<Project>)
ToString()

Explicit Interface Implementations

Name Description
IProjectSet.Projects