Class SolutionGraph
Represents the structure of a solution or project graph, including its name, path, projects, and dependencies.
public record SolutionGraph : IEquatable<SolutionGraph>
- Inheritance
-
SolutionGraph
- Implements
- Inherited Members
Constructors
SolutionGraph(string, string, IReadOnlyList<Project>, IReadOnlyList<Dependency>)
Represents the structure of a solution or project graph, including its name, path, projects, and dependencies.
public SolutionGraph(string Name, string Path, IReadOnlyList<Project> Projects, IReadOnlyList<Dependency> Dependencies)
Parameters
NamestringThe name of the solution or project.
PathstringThe file path to the solution or project.
ProjectsIReadOnlyList<Project>A read-only list of projects contained in the solution or project.
DependenciesIReadOnlyList<Dependency>A read-only list of dependencies between the projects in the solution or project.
Properties
Dependencies
A read-only list of dependencies between the projects in the solution or project.
public IReadOnlyList<Dependency> Dependencies { get; init; }
Property Value
Name
The name of the solution or project.
public string Name { get; init; }
Property Value
Path
The file path to the solution or project.
public string Path { get; init; }
Property Value
Projects
A read-only list of projects contained in the solution or project.
public IReadOnlyList<Project> Projects { get; init; }