C# Class ImageProcessor.Web.Caching.CacheIndexer

Represents an in memory collection of keys and values whose operations are concurrent.
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Méthodes publiques

Méthode Description
Add ( CachedImage cachedImage ) : CachedImage

Adds the specified key and value to the dictionary or returns the value if it exists.

Get ( string cachedPath ) : CachedImage

Gets the CachedImage associated with the specified key.

Remove ( string cachedPath ) : bool

Removes the value associated with the specified key.

Method Details

Add() public static méthode

Adds the specified key and value to the dictionary or returns the value if it exists.
public static Add ( CachedImage cachedImage ) : CachedImage
cachedImage CachedImage /// The cached image to add. ///
Résultat CachedImage

Get() public static méthode

Gets the CachedImage associated with the specified key.
public static Get ( string cachedPath ) : CachedImage
cachedPath string /// The cached path of the value to get. ///
Résultat CachedImage

Remove() public static méthode

Removes the value associated with the specified key.
public static Remove ( string cachedPath ) : bool
cachedPath string /// The key of the item to remove. ///
Résultat bool