27 lines
743 B
C#
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
|
|
}
|
|
} |