/// <summary>
        /// Casts a vote if the agenda point is open.
        /// </summary>
        /// <param name="vote">The vote to cast.</param>
        /// <param name="votableAgendaPoint">The agenda point to cast the vote to.</param>
        /// <returns>A <see cref="bool"/> that indicates whether the vote failed or not. Returns also an error message that tells why.</returns>
        public void CastVote(Vote vote, VotableAgendaPoint votableAgendaPoint)
        {
            if (vote == null)
            {
                throw new ArgumentNullException("vote");
            }

            if (votableAgendaPoint == null)
            {
                throw new ArgumentNullException("votableAgendaPoint");
            }
        }
예제 #2
0
 /// <summary>
 /// Starts the voting of a agenda point.
 /// </summary>
 /// <param name="votableAgendaPoint">The agenda point to start voting on.</param>
 public void StartVote(VotableAgendaPoint votableAgendaPoint)
 {
     // TODO: Start voting of agenda point.
 }