public TGivenRuleTypeConjunction ImplementInterface(Type intf) { _ruleCreator.AddPredicate( TypePredicatesDefinition <TRuleType> .ImplementInterface(intf)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction ImplementInterface(Type intf) { _ruleCreator.ContinueComplexCondition( TypePredicatesDefinition <TReferenceType> .ImplementInterface(intf)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction ImplementInterface(string pattern, bool useRegularExpressions = false) { _ruleCreator.AddPredicate( TypePredicatesDefinition <TRuleType> .ImplementInterface(pattern, useRegularExpressions)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }
public TRuleTypeShouldConjunction ImplementInterface(string pattern, bool useRegularExpressions = false) { _ruleCreator.ContinueComplexCondition( TypePredicatesDefinition <TReferenceType> .ImplementInterface(pattern, useRegularExpressions)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }