コード例 #1
0
 private void Completed()
 {
     if (Dispatcher.UIThread.CheckAccess())
     {
         _owner.Completed(this);
     }
     else
     {
         Dispatcher.UIThread.InvokeAsync(() => _owner.Completed(this));
     }
 }
コード例 #2
0
        private void Completed()
        {
            HasCompleted = true;

            if (Dispatcher.UIThread.CheckAccess())
            {
                _owner.Completed(this);
            }
            else
            {
                Dispatcher.UIThread.Post(() => _owner.Completed(this));
            }
        }
コード例 #3
0
        void IObserver <object> .OnCompleted()
        {
            HasCompleted = true;

            if (Dispatcher.UIThread.CheckAccess())
            {
                _owner.Completed(this);
            }
            else
            {
                Dispatcher.UIThread.Post(() => _owner.Completed(this));
            }
        }
コード例 #4
0
 private void Completed()
 {
     _owner.Completed(this);
 }