Ejemplo n.º 1
0
 public TGivenRuleTypeConjunction ResideInNamespace(string pattern, bool useRegularExpressions = false)
 {
     _ruleCreator.AddPredicate(
         TypePredicatesDefinition <TRuleType> .ResideInNamespace(pattern, useRegularExpressions));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction ResideInNamespace(string pattern, bool useRegularExpressions = false)
 {
     _ruleCreator.ContinueComplexCondition(
         TypePredicatesDefinition <TReferenceType> .ResideInNamespace(pattern, useRegularExpressions));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }