Table of Contents

Interface IValidator<TValue>

Namespace
Olve.Validation
Assembly
Olve.Validation.dll

Represents a validator for values of type TValue.

public interface IValidator<in TValue>

Type Parameters

TValue

Type of value being validated.

Methods

Validate(TValue)

Validates the specified value.

Result Validate(TValue value)

Parameters

value TValue

Value to validate.

Returns

Result

Validation result.