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()))); }
public ValidationConfiguration() : this(ValidationRequest.Full()) { }