public sealed record DesktopValidationResult : IEquatable<DesktopValidationResult> Collects every configuration check run before a Desktop window opens.
Constructors
DesktopValidationResult
public DesktopValidationResult(IReadOnlyList<DesktopDiagnostic> Diagnostics) Collects every configuration check run before a Desktop window opens.
Properties
Errors
public IReadOnlyList<DesktopDiagnostic> Errors { get; } Gets the checks that fail the configuration.
IsValid
public bool IsValid { get; } Gets whether no check failed. Warnings do not make a configuration invalid.
Warnings
public IReadOnlyList<DesktopDiagnostic> Warnings { get; } Gets the options the presentation will ignore or narrow.
Methods
ThrowIfInvalid
public void ThrowIfInvalid() Throws a DesktopConfigurationException listing every error, if any check failed.