Ejemplo n.º 1
0
 public TRuleTypeShouldConjunction Be(ICanBeAnalyzed firstObject, params ICanBeAnalyzed[] moreObjects)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .Be(firstObject, moreObjects));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Ejemplo n.º 2
0
 public TRuleTypeShouldConjunction Be(IObjectProvider <ICanBeAnalyzed> objects)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .Be(objects));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Ejemplo n.º 3
0
 public TRuleTypeShouldConjunction Be(IEnumerable <string> patterns, bool useRegularExpressions = false)
 {
     _ruleCreator.AddCondition(
         ObjectConditionsDefinition <TRuleType> .Be(patterns, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }