nspectre - declarative validation for .NET

FunctionResult Constructor (Error)

Creates a new instance of FunctionResult.

public FunctionResult(
   Error error
);

Parameters

error
The error that ocurred.

Remarks

Calling this constructor with a null error will set Outcome to true, otherwise Outcome will be false.

See Also

FunctionResult Class | NSpectre.Core Namespace | FunctionResult Constructor Overload List