public static Validator <T> CreateValidatorFromAttributes <T>() { return(ValidationFactory.CreateValidatorFromAttributes <T>(string.Empty)); }
public static ValidationResults ValidateFromAttributes <T>(T target) { return(ValidationFactory.CreateValidatorFromAttributes <T>().Validate(target)); }