Table of Contents

Class ValidationResults

Namespace
The.Values
Assembly
Instagile.dll
public record ValidationResults : IEquatable<ValidationResults>
Inheritance
ValidationResults
Implements
Inherited Members

Constructors

ValidationResults(IEnumerable<ValidationResult>, string?)

public ValidationResults(IEnumerable<ValidationResult> results, string? message = null)

Parameters

results IEnumerable<ValidationResult>
message string

Properties

Level

public MessageLevel? Level { get; }

Property Value

MessageLevel?

Message

public string? Message { get; }

Property Value

string

Results

public ValidationResult[] Results { get; }

Property Value

ValidationResult[]

Type

public ValidationResultType Type { get; }

Property Value

ValidationResultType

Methods

EquivalentTo(ValidationResults)

public bool EquivalentTo(ValidationResults other)

Parameters

other ValidationResults

Returns

bool

IsInvalid()

public bool IsInvalid()

Returns

bool

IsInvalidOrWarning()

public bool IsInvalidOrWarning()

Returns

bool

SummaryMessage()

public string SummaryMessage()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Valid()

public static ValidationResults Valid()

Returns

ValidationResults