public async void MyTestMethod()
        {

            // redis list
            var redis = new RedisList<Person>(RedisServer.Default, "test-list-key");
            await redis.AddLast(new Person { Name = "Tom" });
            await redis.AddLast(new Person { Name = "Mary" });

            var persons = await redis.Range(0, 10);
        }
Exemple #2
0
        public async void MyTestMethod()
        {
            // redis list
            var redis = new RedisList <Person>(RedisServer.Default, "test-list-key");
            await redis.AddLast(new Person { Name = "Tom" });

            await redis.AddLast(new Person { Name = "Mary" });

            var persons = await redis.Range(0, 10);
        }