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