NdsForge.NET 1.0.1
Read, validate, edit, compare, and build Nintendo DS and DSi images from .NET
Loading...
Searching...
No Matches
NdsValidationResult.cs
1namespace NdsForge;
2
4public sealed class NdsValidationResult
5{
8 internal NdsValidationResult(IEnumerable<NdsDiagnostic> diagnostics)
9 {
10 Diagnostics = diagnostics.ToArray();
11 }
12
14 public IReadOnlyList<NdsDiagnostic> Diagnostics { get; }
15
17 public bool IsValid => Diagnostics.All(static diagnostic => diagnostic.Severity != NdsDiagnosticSeverity.Error);
18}
bool IsValid
Gets whether validation completed without errors.
IReadOnlyList< NdsDiagnostic > Diagnostics
Retains stable validation order so command-line output, tests, and build logs remain reproducible.
NdsDiagnosticSeverity
Indicates the impact of a validation finding.