The MemoryResponseFilter type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddItemToCache | (Overrides OutputCacheResponseFilter..::..AddItemToCache(Int32, String).) | |
| BeginRead | Begins an asynchronous read operation. (Inherited from Stream.) | |
| BeginWrite | Begins an asynchronous write operation. (Inherited from Stream.) | |
| Close | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. (Inherited from Stream.) | |
| CopyTo | Reads the bytes from the current stream and writes them to the destination stream. (Inherited from Stream.) | |
| CopyTo | Reads all the bytes from the current stream and writes them to a destination stream, using a specified buffer size. (Inherited from Stream.) | |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| CreateWaitHandle | Obsolete. Allocates a WaitHandle object. (Inherited from Stream.) | |
| Dispose | Releases all resources used by the Stream. (Inherited from Stream.) | |
| Dispose | Releases the unmanaged resources used by the Stream and optionally releases the managed resources. (Inherited from Stream.) | |
| EndRead | Waits for the pending asynchronous read to complete. (Inherited from Stream.) | |
| EndWrite | Ends an asynchronous write operation. (Inherited from Stream.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Flush | (Inherited from OutputCacheResponseFilter.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | |
| ObjectInvariant | Provides support for a Contract. (Inherited from Stream.) | |
| Read | (Inherited from OutputCacheResponseFilter.) | |
| ReadByte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from Stream.) | |
| RemoveItemFromCache | (Overrides OutputCacheResponseFilter..::..RemoveItemFromCache(Int32).) | |
| Seek | (Inherited from OutputCacheResponseFilter.) | |
| SetLength | (Inherited from OutputCacheResponseFilter.) | |
| StopFiltering | (Inherited from OutputCacheResponseFilter.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Write | (Inherited from OutputCacheResponseFilter.) | |
| WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| Cache | ||
| CacheDuration | (Inherited from OutputCacheResponseFilter.) | |
| CacheKey | (Inherited from OutputCacheResponseFilter.) | |
| CanRead | (Inherited from OutputCacheResponseFilter.) | |
| CanSeek | (Inherited from OutputCacheResponseFilter.) | |
| CanTimeout | Gets a value that determines whether the current stream can time out. (Inherited from Stream.) | |
| CanWrite | (Inherited from OutputCacheResponseFilter.) | |
| CaptureStream | (Inherited from OutputCacheResponseFilter.) | |
| ChainedStream | (Inherited from OutputCacheResponseFilter.) | |
| HasErrored | (Inherited from OutputCacheResponseFilter.) | |
| Length | (Inherited from OutputCacheResponseFilter.) | |
| MaxVaryByCount | (Inherited from OutputCacheResponseFilter.) | |
| Position | (Inherited from OutputCacheResponseFilter.) | |
| ReadTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) | |
| WriteTimeout | Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |