Exemplo n.º 1
0
 public TRuleTypeShouldConjunction NotHaveAnyAttributes(Attribute firstAttribute,
                                                        params Attribute[] moreAttributes)
 {
     _ruleCreator.AddCondition(
         ObjectConditionsDefinition <TRuleType> .NotHaveAnyAttributes(firstAttribute, moreAttributes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Exemplo n.º 2
0
 public TRuleTypeShouldConjunction NotHaveAnyAttributes(IEnumerable <string> patterns,
                                                        bool useRegularExpressions = false)
 {
     _ruleCreator.AddCondition(
         ObjectConditionsDefinition <TRuleType> .NotHaveAnyAttributes(patterns, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Exemplo n.º 3
0
 public TRuleTypeShouldConjunction NotHaveAnyAttributes(IEnumerable <Type> attributes)
 {
     _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotHaveAnyAttributes(attributes));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }