IsMemberSinceAtLeastTwoYears() 개인적인 메소드

private IsMemberSinceAtLeastTwoYears ( ) : bool
리턴 bool
예제 #1
0
 public TeamChairmanship AppointChairman(TeamMember member)
 {
     Enforce.That(member.IsPartOf(_id), Sorry.NotPartOfTheTeam);
     Enforce.That(member.IsMemberSinceAtLeastTwoYears(), Sorry.NotMemberSinceAtLeastTwoYears);
     return(new TeamChairmanship(_id, member.Id, DateTime.Today));
 }
예제 #2
0
 public TeamChairmanship AppointChairman(TeamMember member)
 {
     Enforce.That(member.IsPartOf(_id), Sorry.NotPartOfTheTeam);
       Enforce.That(member.IsMemberSinceAtLeastTwoYears(), Sorry.NotMemberSinceAtLeastTwoYears);
       return new TeamChairmanship(_id, member.Id, DateTime.Today);
 }