private static void OnUploadProgress( IUploadProgress uploadProgress, ulong totalSize, IGcsFileOperationCallback operation) { operation.Progress((double)uploadProgress.BytesSent / totalSize); }
private void OnDownloadProgress( IDownloadProgress downloadProgress, ulong totalSize, IGcsFileOperationCallback operation) { operation.Progress((double)downloadProgress.BytesDownloaded / totalSize); }