static void Validate(ValidationRuleFactory <IInterf> fact) { fact.RuleFor(x => x.A).Greater(0); }
static void Validate(ValidationRuleFactory <CopyClass0> t) { t.RuleFor(x => x.A).Greater(0); }
static void Validate <T>(ValidationRuleFactory <ITemplateInterf <T> > t) { t.RuleFor(x => x.A).NotEmpty(); }
static void Validate(ValidationRuleFactory <ICopyClass1> t) { t.RuleFor(x => x.B).Trim().Forbidden("a"); }