C# 클래스 ImageProcessor.Web.Caching.CacheIndexer

Represents an in memory collection of keys and values whose operations are concurrent.
파일 보기 프로젝트 열기: JimBobSquarePants/ImageProcessor 1 사용 예제들

공개 메소드들

메소드 설명
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