Ejemplo n.º 1
0
 public TRuleTypeShouldConjunction FollowCustomCondition(Func <TRuleType, bool> condition, string description,
                                                         string failDescription)
 {
     _ruleCreator.AddCondition(
         ObjectConditionsDefinition <TRuleType> .FollowCustomCondition(condition, description, failDescription));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }