using System;
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.
Boolean IsValid(T value);
}
}