Table of Contents

Class CsprojsInSolution

Namespace
SunamoDevCode.Data
Assembly
SunamoDevCode.dll

Represents the collection of csproj files and their folder paths within a solution.

public class CsprojsInSolution
Inheritance
CsprojsInSolution
Inherited Members
Extension Methods

Properties

CsprojFolderPaths

List of folder paths containing csproj files.

public List<string> CsprojFolderPaths { get; set; }

Property Value

List<string>

CsprojPaths

List of full csproj file paths.

public List<string> CsprojPaths { get; set; }

Property Value

List<string>

Methods

Intersect(CsprojsInSolution)

Intersects the current instance with another CsprojsInSolution instance.

public CsprojsInSolution Intersect(CsprojsInSolution other)

Parameters

other CsprojsInSolution

Other CsprojsInSolution instance to merge with.

Returns

CsprojsInSolution

The current instance with merged data.

ToDictionary()

Converts the csproj folder paths and csproj paths to a dictionary.

public Dictionary<string, string> ToDictionary()

Returns

Dictionary<string, string>

Dictionary mapping folder paths to csproj file paths.