SOMS/SolutionCleanupTool/Models/AnalysisResult.cs
2025-12-31 14:25:09 +08:00

27 lines
743 B
C#

using System.Collections.Generic;
namespace SolutionCleanupTool.Models
{
/// <summary>
/// Represents the result of analyzing project references
/// </summary>
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; }
}
/// <summary>
/// Types of issues that can be found with project references
/// </summary>
public enum ProjectReferenceIssueType
{
None,
FileNotFound,
IncorrectPath,
InvalidProjectFile,
CircularReference
}
}