Skip to content

Commit

Permalink
fix to show return ItemResponse<ToDoActivity>
Browse files Browse the repository at this point in the history
  • Loading branch information
philipthomas-MSFT committed Sep 20, 2024
1 parent 56811c9 commit 9f43027
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Microsoft.Azure.Cosmos/src/Resource/Container/Container.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public abstract Task<ResponseMessage> ReadItemStreamAsync(
/// public string status {get; set;}
/// }
///
/// ToDoActivity toDoActivity = await this.container.ReadItemAsync<ToDoActivity>("id", new PartitionKey("partitionKey"));
/// ItemResponse<ToDoActivity> toDoActivity = await this.container.ReadItemAsync<ToDoActivity>("id", new PartitionKey("partitionKey"));
///
/// ]]>
/// </code>
Expand Down Expand Up @@ -740,7 +740,7 @@ public abstract Task<FeedResponse<T>> ReadManyItemsAsync<T>(
/// public int frequency {get; set;}
/// }
///
/// ToDoActivity toDoActivity = await this.container.ReadItemAsync<ToDoActivity>("id", new PartitionKey("partitionKey"));
/// ItemResponse<ToDoActivity> toDoActivity = await this.container.ReadItemAsync<ToDoActivity>("id", new PartitionKey("partitionKey"));
/// /* toDoActivity = {
/// "id" : "someId",
/// "status" : "someStatusPK",
Expand Down

0 comments on commit 9f43027

Please sign in to comment.