Beispiel #1
0
 public GivenPropertyMembersConjunction HavePrivateProtectedSetter()
 {
     _ruleCreator.AddPredicate(PropertyMemberPredicateDefinition.HavePrivateProtectedSetter());
     return(new GivenPropertyMembersConjunction(_ruleCreator));
 }
Beispiel #2
0
 public GivenPropertyMembersConjunction AreNotVirtual()
 {
     _ruleCreator.AddPredicate(PropertyMemberPredicateDefinition.AreNotVirtual());
     return(new GivenPropertyMembersConjunction(_ruleCreator));
 }
Beispiel #3
0
 public GivenPropertyMembersConjunction DoNotHaveProtectedInternalSetter()
 {
     _ruleCreator.AddPredicate(PropertyMemberPredicateDefinition.DoNotHaveProtectedInternalSetter());
     return(new GivenPropertyMembersConjunction(_ruleCreator));
 }
Beispiel #4
0
 public TRuleTypeShouldConjunction HavePrivateProtectedSetter()
 {
     _ruleCreator.ContinueComplexCondition(PropertyMemberPredicateDefinition.HavePrivateProtectedSetter());
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Beispiel #5
0
 public TRuleTypeShouldConjunction AreNotVirtual()
 {
     _ruleCreator.ContinueComplexCondition(PropertyMemberPredicateDefinition.AreNotVirtual());
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }
Beispiel #6
0
 public TRuleTypeShouldConjunction DoNotHaveInternalSetter()
 {
     _ruleCreator.ContinueComplexCondition(PropertyMemberPredicateDefinition.DoNotHaveInternalSetter());
     return(Create <TRuleTypeShouldConjunction, TRuleType>(_ruleCreator));
 }