public TRuleTypeShouldConjunction HaveAnyAttributes(IEnumerable <string> patterns,
                                                     bool useRegularExpressions = false)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .HaveAnyAttributes(patterns, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
 public TGivenRuleTypeConjunction HaveAnyAttributes(IEnumerable <string> patterns,
                                                    bool useRegularExpressions = false)
 {
     _ruleCreator.AddPredicate(
         ObjectPredicatesDefinition <TRuleType> .HaveAnyAttributes(patterns, useRegularExpressions));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction HaveAnyAttributes(IEnumerable <Type> attributes)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .HaveAnyAttributes(attributes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction HaveAnyAttributes(Attribute firstAttribute, params Attribute[] moreAttributes)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .HaveAnyAttributes(firstAttribute, moreAttributes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
 public TGivenRuleTypeConjunction HaveAnyAttributes(IEnumerable <Type> attributes)
 {
     _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .HaveAnyAttributes(attributes));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TGivenRuleTypeConjunction HaveAnyAttributes(Attribute firstAttribute, params Attribute[] moreAttributes)
 {
     _ruleCreator.AddPredicate(
         ObjectPredicatesDefinition <TRuleType> .HaveAnyAttributes(firstAttribute, moreAttributes));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }