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