Click or drag to resize

IIfBuilderTClass, TProperty Interface

Interface that provides functionality to include a run condition in a fluent API statement.

Namespace:  Xploration.Validation
Assembly:  Xploration.Validation (in Xploration.Validation.dll) Version: 1.0.0-alpha1
Syntax
public interface IIfBuilder<TClass, TProperty> : IPropertyErrorBuilder<TClass, TProperty>, 
	IPropertyAndBuilder<TClass, TProperty>

Type Parameters

TClass
The type of a class.
TProperty
The type of a property.

The IIfBuilderTClass, TProperty type exposes the following members.

Methods
  NameDescription
Public methodAnd
Starts a new fluent API statement.
(Inherited from IPropertyAndBuilderTClass, TProperty.)
Public methodIf
Adds a run condition to the fluent API statment.
Public methodReturnError(Type)
Includes the given error class type in a fluent API statement.
(Inherited from IPropertyErrorBuilderTClass, TProperty.)
Public methodReturnError(IErrorProvider)
Includes the given error provider in a fluent API statement.
(Inherited from IPropertyErrorBuilderTClass, TProperty.)
Public methodReturnErrorE(FuncValidationResult, E)
Includes the given error resolver function in a fluent API statement.
(Inherited from IPropertyErrorBuilderTClass, TProperty.)
Top
See Also