/// <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(); } }
/// <summary> /// The play time line message handler. /// </summary> /// <param name="message"></param> public void Handle(PlayTimeLineMessage message) { PlayTimeLine(message.TimeLineItemViewModels); }