Show / Hide Table of Contents

Interface IValidator<T>

Defines a generic interface for validators.

Namespace: Juhta.Net.Validation
Assembly: Juhta.Net.Validation.dll
Syntax
public interface IValidator<T>
Type Parameters
Name Description
T

Specifies the type of values to validate.

Methods

| Improve this Doc View Source

Validate(T)

Validates a specified value. If the specified value doesn't pass validation, the method must throw a ValidationException.

Declaration
void Validate(T value)
Parameters
Type Name Description
T value

Specifies a value to validate.

  • Improve this Doc
  • View Source
Back to top Copyright © 2017-2019 Juha Lähteenmäki
Generated by DocFX