Exemplo n.º 1
0
 public void SendVote( PokerVote vote )
 {
     if (!HasVoted(vote.VoteParticipant))
     {
         Votes.Add(vote);
     }
     else
     {
         throw new SCRUMPokerException("Participant already voted");
     }
 }
Exemplo n.º 2
0
 private void SendVote(PokerCard pokerCard)
 {
     PokerVote vote = new PokerVote();
     vote.VoteParticipant = ScrumPokerSession.GameParticipant;
     vote.VoteCard = pokerCard;
     ScrumPokerSession.CurrentGame.SendVote(vote);
     pnlVote.Visible = false;
 }