public TRuleTypeShouldConjunction NotDependOnAny(IEnumerable <string> patterns, bool useRegularExpressions = false) { _ruleCreator.AddCondition( ObjectConditionsDefinition <TRuleType> .NotDependOnAny(patterns, useRegularExpressions)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction NotDependOnAny(IEnumerable <Type> types) { _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotDependOnAny(types)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction NotDependOnAny(Type firstType, params Type[] moreTypes) { _ruleCreator.AddCondition(ObjectConditionsDefinition <TRuleType> .NotDependOnAny(firstType, moreTypes)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }