An HTTP response based on a BLOB file.
Esempio n. 1
0
 /// <summary>
 /// Creates a BLOB-file secondary response.
 /// </summary>
 /// <param name="response">The BLOB-file response.</param>
 /// <param name="useMemoryCache">Pass true if you want to use EWL's memory cache for this response.</param>
 public SecondaryResponse(BlobFileResponse response, bool useMemoryCache)
     : this(
         response.GetResponse,
         memoryCachingSetup : useMemoryCache ? new ResponseMemoryCachingSetup(response.MemoryCacheKey, response.FileLastModificationDateAndTime) : null)
 {
 }
        /// <summary>
        /// Creates a BLOB-file secondary response.
        /// </summary>
        /// <param name="response">The BLOB-file response.</param>
        /// <param name="useMemoryCache">Pass true if you want to use EWL's memory cache for this response.</param>
        public SecondaryResponse( BlobFileResponse response, bool useMemoryCache )
            : this(response.GetResponse,
				memoryCachingSetup: useMemoryCache ? new ResponseMemoryCachingSetup( response.MemoryCacheKey, response.FileLastModificationDateAndTime ) : null)
        {
        }