Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class.
 /// </summary>
 /// <param name="cache">The cache we should clear; implementors will need to wrap their cache in this</param>
 /// <param name="logger">The logger.</param>
 public CacheCleaningHandler(IAmACache cache, ILog logger) : base(logger)
 {
     this.cache = cache;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RequestHandler{TRequest}"/> class.
 /// </summary>
 /// <param name="cache">The cache we should clear; implementors will need to wrap their cache in this</param>
 /// <param name="logger">The logger.</param>
 public CacheCleaningHandler(IAmACache cache, ILog logger)
 {
     _cache = cache;
 }