Export (0) Print
Expand All

Cache Methods

The Cache type exposes the following members.

  NameDescription
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 Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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 a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method Insert Overloaded. Inserts an item into the Cache object. Use one of the versions of this method to overwrite an existing Cache item with the same key parameter.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
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

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that can iterate through the Cache object collection.
Top

Community Additions

ADD
Show:
© 2014 Microsoft