Click or drag to resize

IExecutableErrorBuilderT Interface

Interface that provides functionality to execute or to include an IErrorProvider to a fluent API statement.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public interface IExecutableErrorBuilder<T> : IExecutableBuilder, 
	IErrorBuilder<T>, IAndBuilder<T>

Type Parameters

T
The type of the entity to validate.

The IExecutableErrorBuilderT type exposes the following members.

Methods
  NameDescription
Public methodAnd
Starts a new fluent API statement.
(Inherited from IAndBuilderT.)
Public methodExecuteAsync
Executes the current fluent API statement and returns the validation results.
(Inherited from IExecutableBuilder.)
Public methodReturnError(Type)
Includes the given error class type in a fluent API statement.
(Inherited from IErrorBuilderT.)
Public methodReturnError(IErrorProvider)
Includes the given error provider in a fluent API statement.
(Inherited from IErrorBuilderT.)
Public methodReturnErrorE(FuncValidationResult, E)
Includes the given error resolver function in a fluent API statement.
(Inherited from IErrorBuilderT.)
Top
Extension Methods
  NameDescription
Public Extension MethodValidateAndThrowAsyncOverloaded.
Executes the current fluent API statement and throws a ValidationException if there was a validation failure.
(Defined by FluentAPIExtensions.)
Public Extension MethodValidateAndThrowAsyncEOverloaded.
Executes the current fluent API statement and throws an exception if there was a validation failure.
(Defined by FluentAPIExtensions.)
Public Extension MethodValidateAndThrowAsyncE(String)Overloaded.
Executes the current fluent API statement and throws an exception if there was a validation failure.
(Defined by FluentAPIExtensions.)
Public Extension MethodValidateAsync
Executes the current fluent API statement and returns if there was a validation failure.
(Defined by FluentAPIExtensions.)
Top
See Also