Example #1
0
        protected void OnCommandCompleted(CommandCompletedEventArgs e)
        {
            var eh = this.CommandCompleted;

            if (eh != null)
            {
                eh(this, e);
            }
        }
Example #2
0
 protected void OnCommandCompleted(CommandCompletedEventArgs e)
 {
     var eh = this.CommandCompleted;
     if (eh != null)
     {
         if (this.Dispatcher == null)
         {
             eh(this, e);
         }
         else
         {
             this.Dispatcher.Invoke(() => eh(this, e));
         }
     }
 }
Example #3
0
        protected void OnCommandCompleted(CommandCompletedEventArgs e)
        {
            var eh = this.CommandCompleted;

            if (eh != null)
            {
                if (this.Dispatcher == null)
                {
                    eh(this, e);
                }
                else
                {
                    this.Dispatcher.Invoke(() => eh(this, e));
                }
            }
        }