예제 #1
0
 /// <summary>
 /// The play time line message handler.
 /// </summary>
 /// <param name="message">
 /// </param>
 public void Handle(PlayTimeLineMessage message)
 {
     if (_inputWorker != null && _inputWorker.IsAlive)
     {
         _inputWorker.Abort();
     }
     else
     {
         _inputWorker =
             new Thread(
                 () =>
                 PlayTimeLine(
                     message.PlayerOneTimeLineItemViewModels,
                     message.PlayerTwoTimeLineItemViewModels,
                     message.RepeatAmount));
         _inputWorker.Start();
     }
 }
예제 #2
0
 /// <summary>
 /// The play time line message handler.
 /// </summary>
 /// <param name="message"></param>
 public void Handle(PlayTimeLineMessage message)
 {
     PlayTimeLine(message.TimeLineItemViewModels);
 }