Exemplo n.º 1
0
 public TRuleTypeShouldConjunction NotImplementInterface(Type intf)
 {
     _ruleCreator.AddCondition(
         TypeConditionsDefinition <TRuleType> .NotImplementInterface(intf));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Exemplo n.º 2
0
 public TRuleTypeShouldConjunction NotImplementInterface(string pattern, bool useRegularExpressions = false)
 {
     _ruleCreator.AddCondition(
         TypeConditionsDefinition <TRuleType> .NotImplementInterface(pattern, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }