C# Class Utilities.DataTypes.Caching.Default.CacheCache

Cache used in ASP.Net for cache level cache
Inheritance: Utilities.DataTypes.Caching.BaseClasses.CacheBase
Afficher le fichier Open project: JaCraig/Craig-s-Utility-Library

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Add ( string key, object value ) : void

Add item to the cache

CacheCache ( ) : System.Collections.Generic

Constructor

Clear ( ) : void

Clears the cache

Contains ( object>.KeyValuePair item ) : bool

Determines if the item is in the cache

ContainsKey ( string key ) : bool

Checks if the cache contains the key

CopyTo ( object>.KeyValuePair array, int arrayIndex ) : void

Copies to an array

GetEnumerator ( ) : object>>.IEnumerator

Gets the enumerator

Remove ( object>.KeyValuePair item ) : bool

Removes an item from an array

Remove ( string key ) : bool

Removes an item from the cache

TryGetValue ( string key, object &value ) : bool

Attempt to get a value

Méthodes protégées

Méthode Description
Dispose ( bool Managed ) : void

Disposes of the cache

Method Details

Add() public méthode

Add item to the cache
public Add ( string key, object value ) : void
key string Key of the item
value object Value to add
Résultat void

CacheCache() public méthode

Constructor
public CacheCache ( ) : System.Collections.Generic
Résultat System.Collections.Generic

Clear() public méthode

Clears the cache
public Clear ( ) : void
Résultat void

Contains() public méthode

Determines if the item is in the cache
public Contains ( object>.KeyValuePair item ) : bool
item object>.KeyValuePair item to check for
Résultat bool

ContainsKey() public méthode

Checks if the cache contains the key
public ContainsKey ( string key ) : bool
key string Key to check
Résultat bool

CopyTo() public méthode

Copies to an array
public CopyTo ( object>.KeyValuePair array, int arrayIndex ) : void
array object>.KeyValuePair Array to copy to
arrayIndex int Index to start at
Résultat void

Dispose() protected méthode

Disposes of the cache
protected Dispose ( bool Managed ) : void
Managed bool Managed or not
Résultat void

GetEnumerator() public méthode

Gets the enumerator
public GetEnumerator ( ) : object>>.IEnumerator
Résultat object>>.IEnumerator

Remove() public méthode

Removes an item from an array
public Remove ( object>.KeyValuePair item ) : bool
item object>.KeyValuePair Item to remove
Résultat bool

Remove() public méthode

Removes an item from the cache
public Remove ( string key ) : bool
key string key to remove
Résultat bool

TryGetValue() public méthode

Attempt to get a value
public TryGetValue ( string key, object &value ) : bool
key string Key to get
value object Value of the item
Résultat bool