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