25 lines
874 B
C#
25 lines
874 B
C#
using System.Collections.Generic;
|
|
using SolutionCleanupTool.Models;
|
|
|
|
namespace SolutionCleanupTool.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Interface for parsing Visual Studio solution files
|
|
/// </summary>
|
|
public interface ISolutionParser
|
|
{
|
|
/// <summary>
|
|
/// Parses a solution file and returns a structured model
|
|
/// </summary>
|
|
/// <param name="solutionPath">Path to the .sln file</param>
|
|
/// <returns>Parsed solution model</returns>
|
|
SolutionModel ParseSolution(string solutionPath);
|
|
|
|
/// <summary>
|
|
/// Extracts project references from a parsed solution
|
|
/// </summary>
|
|
/// <param name="solution">The parsed solution model</param>
|
|
/// <returns>List of project references</returns>
|
|
List<ProjectReference> ExtractProjectReferences(SolutionModel solution);
|
|
}
|
|
} |