public void ForClass <T>(Action <ClassValidationRules <T> > configuration) where T : class { var rules = new ClassValidationRules <T>(); configuration(rules); _innerRegistrations.Add(rules); }
public FieldValidationExpression(ClassValidationRules <T> parent, Accessor accessor) { _parent = parent; _accessor = accessor; }