public static Task DestroyAsync(IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken)) { return blobService.DestroyBlobsAsync(new ulong[] { blobInfo.Id }, ct); }
public void Dispose() { _blobService.DestroyBlobsAsync(_cleanup.Select(b => b.Id).ToArray(), CancellationToken.None).DoNotWait(); }
public static void Destroy(IRBlobInfo blobInfo, IRBlobService blobService) { blobService.DestroyBlobsAsync(new ulong[] { blobInfo.Id }).GetAwaiter().GetResult(); }
public static Task DestroyAsync(IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken)) => blobService.DestroyBlobsAsync(new [] { blobInfo.Id }, ct);
public static void Destroy(IRBlobInfo blobInfo, IRBlobService blobService) => blobService.DestroyBlobsAsync(new ulong[] { blobInfo.Id }).GetAwaiter().GetResult();
public static Task DestroyAsync(IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken)) { return(blobService.DestroyBlobsAsync(new ulong[] { blobInfo.Id }, ct)); }
public void Dispose() { _blobService.DestroyBlobsAsync(_cleanup.Select(b => b.Id).ToArray()).DoNotWait(); }