Skip to content

Commit

Permalink
chore: fix incubating code sample (#60)
Browse files Browse the repository at this point in the history
* For the incubating code sample, enable C# syntax highlighting.
  • Loading branch information
malandis authored May 23, 2022
1 parent 36296bf commit 4ae7500
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Momento/Incubating/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
The `MomentoSdk.Incubating` namespace has work-in-progress features that may or may be be in the final version.

# Dictionary Methods

This demonstrates the methods and response types for a dictionary data type in the cache:
```
```csharp
using System.Collections.Generic;
using MomentoSdk.Responses;
using MomentoSdk.Incubating.Responses;
Expand Down Expand Up @@ -32,7 +31,7 @@ class Driver
CacheGetStatus status = gr.Status;
string value = gr.String();

// Get the whole thing
// Get the whole dictionary
CacheDictionaryGetAllResponse gar = scc.DictionaryGetAll(cacheName: "my-cache", dictionaryName: "my-dictionary");
status = gar.Status;
dictionary = gar.Dictionary();
Expand Down

0 comments on commit 4ae7500

Please sign in to comment.