Inheritance: GalaSoft.MvvmLight.Messaging.MessageBase, IDisposable
 private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
 {
     message.WhenReadyToNavigate.ContinueWith(
         t =>
     {
         if (t.IsCompleted && !t.IsCanceled && !t.IsFaulted && message.Success)
         {
             IsVisibleChanged += OnVisibleChangedShowTransaction;
         }
     });
 }
        private static void OnNavigateToTransactionCommandExecute([Annotations.NotNull] Guid? transactionId)
        {
            if (transactionId == null)
            {
                throw new ArgumentNullException(nameof(transactionId));
            }

            using (var message = new NavigateToTransactionMessage(transactionId.Value))
            {
                MessengerInstance.Send(message);
            }
        }
        private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
        {
            if (NavigateToVisibleTransaction(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            if (NavigateToTransactionOutsideOfFilter(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            message.SetSearchAsFailed();
            // No such transaction id found.
        }
        private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
        {
            if (NavigateToVisibleTransaction(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            if (NavigateToTransactionOutsideOfFilter(message.TransactionId))
            {
                message.SetSearchAsSuccessful();
                return;
            }

            message.SetSearchAsFailed();
            // No such transaction id found.
        }
 private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
 {
     message.WhenReadyToNavigate.ContinueWith(t =>
     {
         if (t.IsCompleted && !t.IsCanceled && !t.IsFaulted && message.Success)
         {
             IsVisibleChanged += OnVisibleChangedShowTransaction;
         }
     });
 }
 private void OnNavigateToTransactionRequestReceived(NavigateToTransactionMessage message)
 {
     message.WhenReadyToNavigate.ContinueWith(
         t =>
         {
             if (t.IsCompleted && !t.IsCanceled && !t.IsFaulted && message.Success)
             {
                 Dispatcher.BeginInvoke(DispatcherPriority.Normal, OnTransactionExecuted);
             }
         });
 }