Exemple #1
0
 public GivenPropertyMembersConjunction DoNotHaveProtectedSetter()
 {
     _ruleCreator.AddPredicate(PropertyMemberPredicateDefinition.DoNotHaveProtectedSetter());
     return(new GivenPropertyMembersConjunction(_ruleCreator));
 }
Exemple #2
0
 public TRuleTypeShouldConjunction DoNotHaveProtectedSetter()
 {
     _ruleCreator.ContinueComplexCondition(PropertyMemberPredicateDefinition.DoNotHaveProtectedSetter());
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }