public DiscoveredTypes(DefaultPropertyConventions defaultPropertyConventions)
 {
     _defaultPropertyConventions = defaultPropertyConventions;
     _validationRuleBuilder      = new ValidationRuleBuilder();
     _discoveredTypes            = new Dictionary <Type, object>();
 }
 public ValidationConfiguration()
 {
     DefaultPropertyConventions = new DefaultPropertyConventions();
     DiscoveredTypes            = new DiscoveredTypes(DefaultPropertyConventions);
 }