nspectre - declarative validation for .NET

ValidationResult Constructor (Boolean, ValidationErrorCollection)

Creates a new instance of ValidationResult.

public ValidationResult(
   bool outcome,
   ValidationErrorCollection errors
);

Parameters

outcome
The outcome.
errors
The errors.

See Also

ValidationResult Class | NSpectre.Core.Implementation Namespace | ValidationResult Constructor Overload List