Exemplo n.º 1
0
 public static CSRedisClient Get <TClient>(
     this ICSRedisClientFactory clientFactory
     )
 {
     return(clientFactory.Get(
                CSRedisClientNameAttribute.GetClientName <TClient>()
                ));
 }
Exemplo n.º 2
0
 public AbpRedisCache(IOptions <CSRedisCoreCacheOptions> options, ICSRedisClientFactory cSRedisClientFactory) : base(cSRedisClientFactory.Get(options.Value.Name))
 {
 }