public TRuleTypeShouldConjunction Are(IObjectProvider <ICanBeAnalyzed> objects) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .Are(objects)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction Are(ICanBeAnalyzed firstObject, params ICanBeAnalyzed[] moreObjects) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .Are(firstObject, moreObjects)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction Are(IEnumerable <string> patterns, bool useRegularExpressions = false) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .Are(patterns, useRegularExpressions)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction Are(IObjectProvider <ICanBeAnalyzed> objects) { _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .Are(objects)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction Are(ICanBeAnalyzed firstObject, params ICanBeAnalyzed[] moreObjects) { _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .Are(firstObject, moreObjects)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction Are(IEnumerable <string> patterns, bool useRegularExpressions = false) { _ruleCreator.AddPredicate( ObjectPredicatesDefinition <TRuleType> .Are(patterns, useRegularExpressions)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }