C# Class NSoft.NFramework.CacheRepositoryEx

显示文件 Open project: debop/NFramework

Public Methods

Method Description
ClearAsync ( this repository ) : System.Threading.Tasks.Task

비동기 방식으로 캐시에 저장된 모든 정보를 삭제합니다.

GetAsync ( this repository, string key ) : Task

비동기 방식으로 캐시에 저장된 항목을 로드합니다.

RemoveAsync ( this repository, string key ) : System.Threading.Tasks.Task

비동기 방식으로 캐시에서 정보를 삭제합니다.

SetAsync ( this repository, string key, object value, System.TimeSpan validFor = default(TimeSpan) ) : System.Threading.Tasks.Task

비동기 방식으로 캐시에 정보를 저장합니다.

Method Details

ClearAsync() public static method

비동기 방식으로 캐시에 저장된 모든 정보를 삭제합니다.
public static ClearAsync ( this repository ) : System.Threading.Tasks.Task
repository this
return System.Threading.Tasks.Task

GetAsync() public static method

비동기 방식으로 캐시에 저장된 항목을 로드합니다.
public static GetAsync ( this repository, string key ) : Task
repository this
key string
return Task

RemoveAsync() public static method

비동기 방식으로 캐시에서 정보를 삭제합니다.
public static RemoveAsync ( this repository, string key ) : System.Threading.Tasks.Task
repository this
key string
return System.Threading.Tasks.Task

SetAsync() public static method

비동기 방식으로 캐시에 정보를 저장합니다.
public static SetAsync ( this repository, string key, object value, System.TimeSpan validFor = default(TimeSpan) ) : System.Threading.Tasks.Task
repository this
key string
value object
validFor System.TimeSpan
return System.Threading.Tasks.Task