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