CachePackageReader ClassDocument Toolkit Help
The base implementation of a package reader that caches package parts.
Inheritance Hierarchy

SystemObject
  FirstFloor.Documents.IO.CachingCachePackageReader
    FirstFloor.Documents.IO.CachingIsolatedStorageCacheReader
    FirstFloor.Documents.IO.CachingMemoryCacheReader

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

public abstract class CachePackageReader : IDisposable, 
	IPackageReader

The CachePackageReader type exposes the following members.

Constructors

  NameDescription
Public methodCachePackageReader
Initializes a new instance of the CachePackageReader class.
Top
Methods

  NameDescription
Protected methodAddPartToCache
Adds specified part to the cache.
Public methodCreatePartRequest
Initializes a new package part request.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
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.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRequestPolicy
Determines the request policy for given part.
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTryGetPartFromCache
Tries to fetch the specified part from the cache.
Top
Remarks

This reader wraps another package reader and adds caching functionality.
See Also

Reference