45 lines
990 B
C#
45 lines
990 B
C#
using System.Diagnostics.CodeAnalysis;
|
|
using System.Runtime.CompilerServices;
|
|
using Questionable.Model.Questing;
|
|
|
|
namespace Questionable.Validation;
|
|
|
|
internal sealed record ValidationIssue
|
|
{
|
|
public EPathType PathType { get; init; }
|
|
|
|
public string? Id { get; init; }
|
|
|
|
public string? Location { get; init; }
|
|
|
|
public ElementId? ElementId { get; init; }
|
|
|
|
public byte? Sequence { get; init; }
|
|
|
|
public int? Step { get; init; }
|
|
|
|
public required EIssueType Type { get; init; }
|
|
|
|
public required EIssueSeverity Severity { get; init; }
|
|
|
|
public required string Description { get; init; }
|
|
|
|
[CompilerGenerated]
|
|
[SetsRequiredMembers]
|
|
private ValidationIssue(ValidationIssue original)
|
|
{
|
|
PathType = original.PathType;
|
|
Id = original.Id;
|
|
Location = original.Location;
|
|
ElementId = original.ElementId;
|
|
Sequence = original.Sequence;
|
|
Step = original.Step;
|
|
Type = original.Type;
|
|
Severity = original.Severity;
|
|
Description = original.Description;
|
|
}
|
|
|
|
public ValidationIssue()
|
|
{
|
|
}
|
|
}
|