protected TValidator WhenInt <TValidator>(Func <object, bool> predicate) where TValidator : PropertyValidator { CurrentValidationRule.WhenPredicate(predicate); return((TValidator)this); }
protected TValidator WithMessageInt <TValidator>(string message) where TValidator : PropertyValidator { CurrentValidationRule.WithMessage(message); return((TValidator)this); }