Ejemplo n.º 1
0
 public ValidationConfiguration(IValidationRequest validationRequest)
 {
     Request   = validationRequest != null ? validationRequest : ValidationRequest.Full();
     TypeRules = new ConcurrentDictionary <Type, IValidationConfigurationRules>();
 }
 protected IServiceResponse <TEntity, TContract> ResponseFullValidation <TEntity, TContract>(TEntity entity, TContract contract, IValidationConfiguration validationConfiguration = null)
     where TEntity : class
     where TContract : class
 {
     return(ResponseValidation(entity, contract, EnsureConfiguration(validationConfiguration, ValidationRequest.Full())));
 }
Ejemplo n.º 3
0
 public ValidationConfiguration() : this(ValidationRequest.Full())
 {
 }