Created
January 8, 2023 01:32
-
-
Save xximjasonxx/c6c8b3f10cf04a5b2f0a9056b75020d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task<IActionResult> Run( | |
[Redis(key: "values", valueType: RedisValueType.Collection, Connection = "RedisConnectionString")] ICollector<Person> values) | |
{ | |
values.Add(new Person { Id = "1", Name = "Name 1" }); | |
values.Add(new Person { Id = "1", Name = "Name 2" }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment