Table of Contents

Class AbstractValidator<T>

Namespace
Core.CliniCore.Domain.Validation
Assembly
Core.CliniCore.dll

Base class providing invariant validator infrastructure

public abstract class AbstractValidator<T> : IValidator<T>

Type Parameters

T
Inheritance
AbstractValidator<T>
Implements
Derived
Inherited Members

Constructors

AbstractValidator(string)

protected AbstractValidator(string errorMessage)

Parameters

errorMessage string

Properties

ErrorMessage

public string ErrorMessage { get; protected set; }

Property Value

string

Methods

IsValid(T)

public abstract bool IsValid(T value)

Parameters

value T

Returns

bool