public TRuleTypeShouldConjunction HaveFullNameMatching(string pattern) { _ruleCreator.ContinueComplexCondition( ObjectPredicatesDefinition <TReferenceType> .HaveFullNameMatching(pattern)); return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator)); }
public TGivenRuleTypeConjunction HaveFullNameMatching(string pattern) { _ruleCreator.AddPredicate(ObjectPredicatesDefinition <TRuleType> .HaveFullNameMatching(pattern)); return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator)); }