Table of Contents

Interface IProjectParser

Namespace
ProjGraph.Lib.Core.Abstractions
Assembly
ProjGraph.Lib.Core.dll

Defines a contract for parsing project files and extracting project details and references.

public interface IProjectParser

Methods

Parse(string)

Parses the specified project file and extracts project details and its references.

(Project Project, IEnumerable<string> ProjectReferences, IEnumerable<PackageReference> PackageReferences) Parse(string projectPath)

Parameters

projectPath string

The file path to the project file to be parsed.

Returns

(Project Project, IEnumerable<string> ProjectReferences, IEnumerable<PackageReference> PackageReferences)

A tuple containing the parsed Project, a collection of its project references, and a collection of its package references.