/// <summary>
 /// Initializes an object of <see cref="EtagHeaderHandler" /> using a provided <see cref="ICacheResponseBuilder" />
 /// </summary>
 /// <param name="builder"></param>
 public EtagHeaderHandler(ICacheResponseBuilder builder)
 {
     if (builder == null)
     {
         throw new ArgumentNullException(nameof(builder));
     }
     _builder = builder;
 }
Exemple #2
0
 /// <summary>
 /// Initializes an object of <see cref="EtagHeaderHandler" /> using a provided <see cref="ICacheResponseBuilder" />
 /// </summary>
 /// <param name="builder"></param>
 public EtagHeaderHandler(ICacheResponseBuilder builder)
 {
     if (builder == null)
     {
         throw new ArgumentNullException(nameof(builder));
     }
     _builder = builder;
 }
        /// <summary>
        /// Initializes an object of <see cref="EvaluateServerCacheHandler" /> using a provided <see cref="ICacheResponseBuilder" />
        /// </summary>
        /// <param name="builder"></param>
        public EvaluateServerCacheHandler(ICacheResponseBuilder builder)
        {
            if (builder == null)
            {
                throw new ArgumentNullException(nameof(builder));
            }

            _builder = builder;
        }