Partager via


NumberOfItemsScavengingStrategy<TCacheEntry> Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

An implementation of IScavengingStrategy<TCacheEntry> that bases decisions on the number of items in the cache.

Namespace: Microsoft.Practices.EnterpriseLibrary.Caching.InMemory
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0

Syntax

public class NumberOfItemsScavengingStrategy<TCacheEntry> : IScavengingStrategy<TCacheEntry>
where TCacheEntry : CacheEntry
'Declaration
Public Class NumberOfItemsScavengingStrategy(Of TCacheEntry As CacheEntry) _
    Implements IScavengingStrategy(Of TCacheEntry)
generic<typename TCacheEntry>
where TCacheEntry : CacheEntry
public ref class NumberOfItemsScavengingStrategy : IScavengingStrategy<TCacheEntry>

Type Parameters

  • TCacheEntry

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Caching.InMemory.NumberOfItemsScavengingStrategy<TCacheEntry>

See Also

NumberOfItemsScavengingStrategy<TCacheEntry> Members

Microsoft.Practices.EnterpriseLibrary.Caching.InMemory Namespace