Table of Contents

Class SolutionGraph

Namespace
ProjGraph.Core.Models
Assembly
ProjGraph.Core.dll

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

Name string

The name of the solution or project.

Path string

The file path to the solution or project.

Projects IReadOnlyList<Project>

A read-only list of projects contained in the solution or project.

Dependencies IReadOnlyList<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

IReadOnlyList<Dependency>

Name

The name of the solution or project.

public string Name { get; init; }

Property Value

string

Path

The file path to the solution or project.

public string Path { get; init; }

Property Value

string

Projects

A read-only list of projects contained in the solution or project.

public IReadOnlyList<Project> Projects { get; init; }

Property Value

IReadOnlyList<Project>