public TRuleTypeShouldConjunction DependOnAny(string pattern, bool useRegularExpressions = false)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .DependOnAny(pattern, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction DependOnAny(IEnumerable <Type> types)
 {
     _ruleCreator.ContinueComplexCondition(ObjectPredicatesDefinition <TReferenceType> .DependOnAny(types));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction DependOnAny(IType firstType, params IType[] moreTypes)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .DependOnAny(firstType, moreTypes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
 public TGivenRuleTypeConjunction DependOnAny(IEnumerable <string> patterns, bool useRegularExpressions = false)
 {
     _ruleCreator.AddPredicate(
         ObjectPredicatesDefinition <TRuleType> .DependOnAny(patterns, useRegularExpressions));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TGivenRuleTypeConjunction DependOnAny(IEnumerable <Type> types)
 {
     _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .DependOnAny(types));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TGivenRuleTypeConjunction DependOnAny(IType firstType, params IType[] moreTypes)
 {
     _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .DependOnAny(firstType, moreTypes));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }