コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="message"></param>
        public override void ActionHandler(IMediatorMessage message)
        {
            var action = message as ConfigurationTabViewModelMessage;

            switch (action.Purpose)
            {
            case MessagePurpose.STOP_ALL_WORKERS:
                ProcessStopRequestWithConfirm();
                break;

            default:
                break;
            }
        }
コード例 #2
0
 /// <summary>
 /// Handler for incoming actions on the view.
 /// </summary>
 /// <param name="viewModelMessage"></param>
 public override void ActionHandler(IMediatorMessage message)
 {
 }
コード例 #3
0
ファイル: ViewModelBase.cs プロジェクト: uzbekdev1/miner
 /// <summary>
 /// Virtual handler for incoming actions on the view.
 /// </summary>
 /// <param name="viewModelMessage"></param>
 public virtual void ActionHandler(IMediatorMessage message)
 {
 }