Export (0) Print
Expand All

Cache Methods

The Cache type exposes the following members.

  Name Description
Public method Add Adds the specified item to the Cache object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Get Retrieves the specified item from the Cache object.
Public method GetEnumerator Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Insert(String, Object) Inserts an item into the Cache object with a cache key to reference its location, using default values provided by the CacheItemPriority enumeration.
Public method Insert(String, Object, CacheDependency) Inserts an object into the Cache that has file or key dependencies.
Public method Insert(String, Object, CacheDependency, DateTime, TimeSpan) Inserts an object into the Cache with dependencies and expiration policies.
Public method Insert(String, Object, CacheDependency, DateTime, TimeSpan, CacheItemUpdateCallback) Inserts an object into the Cache object together with dependencies, expiration policies, and a delegate that you can use to notify the application before the item is removed from the cache.
Public method Insert(String, Object, CacheDependency, DateTime, TimeSpan, CacheItemPriority, CacheItemRemovedCallback) Inserts an object into the Cache object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache.
Public method Remove Removes the specified item from the application's Cache object.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast<TResult> Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  Name Description
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that can iterate through the Cache object collection.
Top
Show:
© 2014 Microsoft