File tree 1 file changed +4
-4
lines changed
sample/EasyCaching.Demo.ConsoleApp
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ static void Main(string[] args)
42
42
IServiceProvider serviceProvider = services . BuildServiceProvider ( ) ;
43
43
var factory = serviceProvider . GetService < IEasyCachingProviderFactory > ( ) ;
44
44
45
- //var reidsCache = factory.GetCachingProvider("r1");
45
+ //var redisCache = factory.GetCachingProvider("r1");
46
46
47
- //reidsCache .Set<Product>("rkey", new Product() { Name = "test" }, TimeSpan.FromSeconds(20));
47
+ //redisCache .Set<Product>("rkey", new Product() { Name = "test" }, TimeSpan.FromSeconds(20));
48
48
49
- //var reidsVal = reidsCache .Get<Product>("rkey");
49
+ //var redisVal = redisCache .Get<Product>("rkey");
50
50
51
- //Console.WriteLine($"redis cache get value, {reidsVal .HasValue} {reidsVal .IsNull} {reidsVal .Value} ");
51
+ //Console.WriteLine($"redis cache get value, {redisVal .HasValue} {redisVal .IsNull} {redisVal .Value} ");
52
52
53
53
54
54
var mCache = factory . GetCachingProvider ( "m1" ) ;
You can’t perform that action at this time.
0 commit comments