Exemple #1
0
 public TGivenRuleTypeConjunction HaveMethodMemberWithName(string name)
 {
     _ruleCreator.AddPredicate(TypePredicatesDefinition <TRuleType> .HaveMethodMemberWithName(name));
     return(Create <TGivenRuleTypeConjunction, TRuleType>(_ruleCreator));
 }
 public TRuleTypeShouldConjunction HavePropertyMemberWithName(string name)
 {
     _ruleCreator.ContinueComplexCondition(
         TypePredicatesDefinition <TReferenceType> .HaveMethodMemberWithName(name));
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }