Ejemplo n.º 1
0
 public override Task <ItemResponse <T> > PatchItemAsync <T>(
     string id,
     PartitionKey partitionKey,
     IReadOnlyList <PatchOperation> patchOperations,
     PatchItemRequestOptions requestOptions = null,
     CancellationToken cancellationToken    = default)
 {
     return(this.ClientContext.OperationHelperAsync(
                nameof(PatchItemAsync),
                requestOptions,
                (diagnostics, trace) => base.PatchItemAsync <T>(diagnostics, id, partitionKey, patchOperations, trace, requestOptions, cancellationToken)));
 }
 public override Task <ResponseMessage> PatchItemStreamAsync(
     string id,
     PartitionKey partitionKey,
     IReadOnlyList <PatchOperation> patchOperations,
     PatchItemRequestOptions requestOptions = null,
     CancellationToken cancellationToken    = default)
 {
     return(this.ClientContext.OperationHelperAsync(
                nameof(PatchItemStreamAsync),
                requestOptions,
                (trace) => base.PatchItemStreamAsync(id, partitionKey, patchOperations, trace, requestOptions, cancellationToken),
                (response) => new OpenTelemetryResponse(response)));
 }
 public abstract Task <ItemResponse <T> > PatchItemAsync <T>(
     string id,
     PartitionKey partitionKey,
     IReadOnlyList <PatchOperation> patchOperations,
     PatchItemRequestOptions requestOptions = null,
     CancellationToken cancellationToken    = default);