PartCacheMaxCountT ClassDocument Toolkit Help
Represents a cache with a maximum number of items.
Inheritance Hierarchy

SystemObject
  FirstFloor.Documents.IO.CachingPartCacheT
    FirstFloor.Documents.IO.CachingPartCacheMaxCountT

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

public class PartCacheMaxCount<T> : PartCache<T>

Type Parameters

T
The part type.

The PartCacheMaxCountT type exposes the following members.

Constructors

  NameDescription
Public methodPartCacheMaxCountT
Initializes a new instance of the PartCacheMaxCountT class.
Top
Properties

  NameDescription
Protected propertyItems
Gets the items.
(Inherited from PartCacheT.)
Top
Methods

  NameDescription
Public methodAddPart
Adds specified part to the cache.
(Overrides PartCacheTAddPart(Uri, T).)
Public methodClear
Clears this instance.
(Inherited from PartCacheT.)
Public methodContains
Determines whether a part for specified URI is contained in the cache.
(Inherited from PartCacheT.)
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetScavengableItems
Gets the scavengable items.
(Overrides PartCacheTGetScavengableItems.)
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetPart
Gets specified part from the cache.
(Inherited from PartCacheT.)
Top
See Also

Reference