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