Table of Contents

Class Project

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

Represents a project in the solution.

public record Project : IEquatable<Project>
Inheritance
Project
Implements
Inherited Members

Constructors

Project(Guid, string, string, string, string, ProjectType)

Represents a project in the solution.

public Project(Guid Id, string Name, string FullPath, string RelativePath, string Framework, ProjectType Type)

Parameters

Id Guid

The unique identifier of the project.

Name string

The name of the project.

FullPath string

The full file path to the project.

RelativePath string

The relative file path to the project.

Framework string

The target framework of the project.

Type ProjectType

The type of the project (e.g., Library, Executable, Test, Other).

Properties

Framework

The target framework of the project.

public string Framework { get; init; }

Property Value

string

FullPath

The full file path to the project.

public string FullPath { get; init; }

Property Value

string

Id

The unique identifier of the project.

public Guid Id { get; init; }

Property Value

Guid

Name

The name of the project.

public string Name { get; init; }

Property Value

string

RelativePath

The relative file path to the project.

public string RelativePath { get; init; }

Property Value

string

Type

The type of the project (e.g., Library, Executable, Test, Other).

public ProjectType Type { get; init; }

Property Value

ProjectType