C# Класс ImageProcessor.Web.Caching.CacheIndexer

Represents an in memory collection of keys and values whose operations are concurrent.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Add() публичный статический Метод

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. ///
Результат CachedImage

Get() публичный статический Метод

Gets the CachedImage associated with the specified key.
public static Get ( string cachedPath ) : CachedImage
cachedPath string /// The cached path of the value to get. ///
Результат CachedImage

Remove() публичный статический Метод

Removes the value associated with the specified key.
public static Remove ( string cachedPath ) : bool
cachedPath string /// The key of the item to remove. ///
Результат bool