Пример #1
0
 public TGivenRuleTypeConjunction HaveMemberWithName(string name)
 {
     _ruleCreator.AddPredicate(TypePredicatesDefinition <TRuleType> .HaveMemberWithName(name));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction HaveMemberWithName(string name)
 {
     _ruleCreator.ContinueComplexCondition(TypePredicatesDefinition <TReferenceType> .HaveMemberWithName(name));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }