using System.Collections.Generic;
namespace SolutionCleanupTool.Models
{
///
/// Represents the result of analyzing project references
///
public class AnalysisResult
{
public ProjectReference Reference { get; set; } = new ProjectReference();
public bool IsValid { get; set; }
public string ErrorMessage { get; set; } = string.Empty;
public ProjectReferenceIssueType IssueType { get; set; }
}
///
/// Types of issues that can be found with project references
///
public enum ProjectReferenceIssueType
{
None,
FileNotFound,
IncorrectPath,
InvalidProjectFile,
CircularReference
}
}