Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created January 8, 2023 01:27
Embed
What would you like to do?
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