コード例 #1
0
 public GivenPropertyMembersConjunction DoNotHavePublicSetter()
 {
     _ruleCreator.AddPredicate(PropertyMemberPredicateDefinition.DoNotHavePublicSetter());
     return(new GivenPropertyMembersConjunction(_ruleCreator));
 }
コード例 #2
0
 public TRuleTypeShouldConjunction DoNotHavePublicSetter()
 {
     _ruleCreator.ContinueComplexCondition(PropertyMemberPredicateDefinition.DoNotHavePublicSetter());
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }