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