namespace Unosquare.Swan.Abstractions
{
///
/// A simple Validator interface.
///
public interface IValidator
{
///
/// The error message.
///
string ErrorMessage { get; }
///
/// Checks if a value is valid.
///
/// The type.
/// The value.
/// True if it is valid.False if it is not.
bool IsValid(T value);
}
}