private void CancelCurrentCancellationToken()
        {
            Cancellation cancellationToken = this._currentCancellationToken;

            if (cancellationToken == null)
            {
                return;
            }
            cancellationToken.Set();
        }
예제 #2
0
        public override void RemoveAndCancelUpload()
        {
            Cancellation cancellation = this._cancellation;

            if (cancellation == null)
            {
                return;
            }
            cancellation.Set();
        }
예제 #3
0
        public override void RemoveAndCancelUpload()
        {
            ImageCache.Current.TryRemoveUri(this._localThumbPath);
            Cancellation cancellation = this._cancellation;

            if (cancellation == null)
            {
                return;
            }
            cancellation.Set();
        }