Exemplo n.º 1
0
        protected void OnCommandCompleted(CommandCompletedEventArgs e)
        {
            var eh = this.CommandCompleted;

            if (eh != null)
            {
                eh(this, e);
            }
        }
Exemplo n.º 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));
         }
     }
 }
Exemplo n.º 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));
                }
            }
        }