Exemple #1
0
        /// <summary>
        /// Starts process of receiving messages from server.
        /// </summary>
        /// <param name="planningPokerController">Instance of <see cref="PlanningPokerController"/> to send messages to.</param>
        /// <returns><see cref="IDisposable"/> object that can be used to stop receiving of messages.</returns>
        public IDisposable StartReceiving(PlanningPokerController planningPokerController)
        {
            var result = new MessageController(planningPokerController, _planningPokerClient);

            result.StartReceiving();
            return(result);
        }
Exemple #2
0
 public MessageController(PlanningPokerController planningPokerController, IPlanningPokerClient planningPokerClient)
 {
     _planningPokerController = planningPokerController;
     _planningPokerClient     = planningPokerClient;
 }