SetChairman() private méthode

private SetChairman ( TeamMemberId teamMemberId ) : void
teamMemberId TeamMemberId
Résultat void
 public void AppointAsChairmanOf(Team team)
 {
     Enforce.That(team.HasMember(_teamMemberId), Sorry.NotPartOfTheTeam);
     Enforce.That(IsMemberSinceAtLeastTwoYears(), Sorry.NotMemberSinceAtLeastTwoYears);
     team.SetChairman(_teamMemberId);
 }
 public void AppointAsChairmanOf(Team team)
 {
     Enforce.That(team.HasMember(_teamMemberId), Sorry.NotPartOfTheTeam);
       Enforce.That(IsMemberSinceAtLeastTwoYears(), Sorry.NotMemberSinceAtLeastTwoYears);
       team.SetChairman(_teamMemberId);
 }