public TRuleTypeShouldConjunction NotResideInAssembly(Assembly assembly, params Assembly[] moreAssemblies) { _ruleCreator.AddCondition( TypeConditionsDefinition <TRuleType> .NotResideInAssembly(assembly, moreAssemblies)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction NotResideInAssembly(string pattern, bool useRegularExpressions = false) { _ruleCreator.AddCondition( TypeConditionsDefinition <TRuleType> .NotResideInAssembly(pattern, useRegularExpressions)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }