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
-
IValidator<T>
- Derived
- Inherited Members
Constructors
AbstractValidator(string)
protected AbstractValidator(string errorMessage)
Parameters
errorMessagestring
Properties
ErrorMessage
public string ErrorMessage { get; protected set; }
Property Value
Methods
IsValid(T)
public abstract bool IsValid(T value)
Parameters
valueT