using System.Collections.Generic; using SolutionCleanupTool.Models; namespace SolutionCleanupTool.Interfaces { /// /// Interface for performing cleanup operations on solution files /// public interface ICleanupEngine { /// /// Removes missing projects from a solution model /// /// The solution model to clean /// List of missing projects to remove /// Result of the cleanup operation CleanupResult RemoveMissingProjects(SolutionModel solution, List missingProjects); /// /// Creates a backup of the original solution file /// /// Path to the solution file to backup /// Path to the created backup file string CreateBackup(string solutionPath); /// /// Writes a solution model back to a file /// /// The solution model to write /// Path where to write the solution file void WriteSolution(SolutionModel solution, string outputPath); } }