public void SetUp() { theSelfValidatingSource = new SelfValidatingClassRuleSource(); theFieldRegistry = new FieldRulesRegistry(new IFieldValidationSource[0], new TypeDescriptorCache()); theGraph = new ValidationGraph(theFieldRegistry, new IValidationSource[0]); }
public void SetUp() { theSelfValidatingSource = new SelfValidatingClassRuleSource(); theFieldRegistry = new FieldRulesRegistry(new IFieldValidationSource[0], new TypeDescriptorCache()); theGraph = new ValidationGraph(theFieldRegistry, new IValidationSource[0]); }