public Task <string> SaveFileAsync(string fileName, byte[] data) { SaveFileCalls.Add(new Tuple <string, byte[]>(fileName, data)); SaveFileHandler?.Invoke(fileName, data); return(Task.FromResult(string.Empty)); }
public Task <string> FetchFileAsync(string remotePath, ulong remoteBlobId, string localPath, CancellationToken cancellationToken) { SaveFileCalls.Add(new Tuple <string, string>(remotePath, localPath)); SaveFileHandler?.Invoke(remotePath, remoteBlobId, localPath); return(Task.FromResult(string.Empty)); }