IsMemberSinceAtLeastTwoYears() private method

private IsMemberSinceAtLeastTwoYears ( ) : bool
return bool
Exemplo n.º 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));
 }
Exemplo n.º 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);
 }