Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RedisCollectionProvider"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="cacheProvider">The cache provider instance.</param>
 public RedisCollectionProvider(RedisProviderContext context, ICacheProvider cacheProvider)
     : base(context)
 {
     _cacheProvider = cacheProvider;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RedisProviderBase"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 internal RedisProviderBase(RedisProviderContext context)
 {
     _context = context;
 }