Open sandboxFocus

Interface IProjectSet

Represents a set of projects. An IProjectSet can include several instances of the Project for the same file if they target multiple frameworks, one Project instance per framework. You can create a subset with the GetSubset(Predicate<Project>) method.

Namespace: Metalama.Framework.Workspaces
Assembly: Metalama.Framework.Workspaces.dll
Syntax
public interface IProjectSet : ICompilationSetResult, IIntrospectionCompilationDetails
Remarks

This interface is implemented by both Workspace and Project. Use the GetSubset(Predicate<Project>) method to filter projects, or use ApplyFilter(Predicate<Project>) to apply filters that affect introspection queries.

Properties

Name Description
Projects

Gets the projects in the current project set.

SourceCode

Gets the source code compilations for all projects in this set, before Metalama transformations are applied.

Methods

Name Description
GetDeclaration(string, string, string, bool)
GetSubset(Predicate<Project>)

Extension Methods

See Also