private void CancelCurrentCancellationToken() { Cancellation cancellationToken = this._currentCancellationToken; if (cancellationToken == null) { return; } cancellationToken.Set(); }
public override void RemoveAndCancelUpload() { Cancellation cancellation = this._cancellation; if (cancellation == null) { return; } cancellation.Set(); }
public override void RemoveAndCancelUpload() { ImageCache.Current.TryRemoveUri(this._localThumbPath); Cancellation cancellation = this._cancellation; if (cancellation == null) { return; } cancellation.Set(); }