コード例 #1
0
 public TRuleTypeShouldConjunction DoNotHaveAnyAttributes(Attribute firstAttribute,
                                                          params Attribute[] moreAttributes)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .DoNotHaveAnyAttributes(firstAttribute, moreAttributes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
コード例 #2
0
 public TRuleTypeShouldConjunction DoNotHaveAnyAttributes(IEnumerable <string> patterns,
                                                          bool useRegularExpressions = false)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .DoNotHaveAnyAttributes(patterns, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
コード例 #3
0
 public TGivenRuleTypeConjunction DoNotHaveAnyAttributes(Attribute firstAttribute,
                                                         params Attribute[] moreAttributes)
 {
     _ruleCreator.AddPredicate(
         ObjectPredicatesDefinition <TRuleType> .DoNotHaveAnyAttributes(firstAttribute, moreAttributes));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
コード例 #4
0
 public TGivenRuleTypeConjunction DoNotHaveAnyAttributes(IEnumerable <string> patterns,
                                                         bool useRegularExpressions = false)
 {
     _ruleCreator.AddPredicate(
         ObjectPredicatesDefinition <TRuleType> .DoNotHaveAnyAttributes(patterns, useRegularExpressions));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
コード例 #5
0
 public TRuleTypeShouldConjunction DoNotHaveAnyAttributes(IEnumerable <Type> attributes)
 {
     _ruleCreator.ContinueComplexCondition(
         ObjectPredicatesDefinition <TReferenceType> .DoNotHaveAnyAttributes(attributes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
コード例 #6
0
 public TGivenRuleTypeConjunction DoNotHaveAnyAttributes(IEnumerable <Type> attributes)
 {
     _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .DoNotHaveAnyAttributes(attributes));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }