MemoryCacheReader ClassDocument Toolkit Help
The package reader that caches package parts in memory.
Inheritance Hierarchy


Namespace: FirstFloor.Documents.IO.Caching
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: (

public class MemoryCacheReader : CachePackageReader

The MemoryCacheReader type exposes the following members.


Public methodMemoryCacheReader(IPackageReader)
Initializes a new instance of the MemoryCacheReader class.
Public methodMemoryCacheReader(IPackageReader, Int32)
Initializes a new instance of the MemoryCacheReader class.

Protected methodAddPartToCache
Adds specified part to the cache.
(Overrides CachePackageReaderAddPartToCache(Uri, Stream).)
Public methodCreatePartRequest
Initializes a new package part request.
(Inherited from CachePackageReader.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides CachePackageReaderDispose.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetContentType
Determines the content type for given part URI.
(Inherited from CachePackageReader.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRequestPolicy
Determines the request policy for given part.
(Inherited from CachePackageReader.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolvePartUri
Resolves the specified part uri to a public accessible uri.
(Inherited from CachePackageReader.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryGetPartFromCache
Tries to fetch the specified part from the cache.
(Overrides CachePackageReaderTryGetPartFromCache(Uri, Stream).)
See Also