/// <inheritdoc /> public Task <PutBlobResult> PutBlobAsync(OperationContext context, ContentHash hash, byte[] blob) { Contract.Assert(AreBlobsSupported, "PutBlobAsync was called and blobs are not supported."); return(context.PerformOperationAsync( Tracer, () => _blobAdapter.PutBlobAsync(context, hash, blob), traceOperationStarted: false, counter: Counters[GlobalStoreCounters.PutBlob])); }
/// <inheritdoc /> public async Task <BoolResult> PutBlobAsync(OperationContext context, ContentHash hash, byte[] blob) { Contract.Assert(AreBlobsSupported, "PutBlobAsync was called and blobs are not supported."); return(await _blobAdapter.PutBlobAsync(context, hash, blob)); }