Created
January 8, 2023 01:27
-
-
Save xximjasonxx/67425ab6ac0570c588e4f512ee5520d4 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 { Name = "Name 1" }); | |
values.Add(new Person { Name = "Name 2" }); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment