C# Class NSoft.NFramework.Web.AbstractOutputCacheProvider

.NET 4.0 이상에서 ASP.NET Page의 OutputCache를 CacheRepository를 통해 저장/로드됩니다. 참고: http://www.4guysfromrolla.com/articles/061610-1.aspx http://weblogs.asp.net/gunnarpeipman/archive/2009/11/19/asp-net-4-0-writing-custom-output-cache-providers.aspx http://weblogs.asp.net/scottgu/archive/2010/01/27/extensible-output-caching-with-asp-net-4-vs-2010-and-net-4-0-series.aspx
Inheritance: System.Web.Caching.OutputCacheProvider, IOutputCacheProvider
显示文件 Open project: debop/NFramework

Public Methods

Method Description
Add ( string key, object entry, System.DateTime utcExpiry ) : object

지정된 항목을 출력 캐시에 삽입합니다.

Get ( string key ) : object

출력 캐시에서 지정된 항목에 대한 참조를 반환합니다.

Remove ( string key ) : void

출력 캐시에서 지정된 항목을 제거합니다.

Set ( string key, object entry, System.DateTime utcExpiry ) : void

지정된 항목을 출력 캐시에 삽입하고 이미 캐시되어 있는 경우 해당 항목을 덮어씁니다.

Protected Methods

Method Description
AbstractOutputCacheProvider ( ) : System
AbstractOutputCacheProvider ( Func cacheRepositoryFactory ) : System

Method Details

AbstractOutputCacheProvider() protected method

protected AbstractOutputCacheProvider ( ) : System
return System

AbstractOutputCacheProvider() protected method

protected AbstractOutputCacheProvider ( Func cacheRepositoryFactory ) : System
cacheRepositoryFactory Func
return System

Add() public method

지정된 항목을 출력 캐시에 삽입합니다.
public Add ( string key, object entry, System.DateTime utcExpiry ) : object
key string 에 대한 고유 식별자입니다.
entry object 출력 캐시에 추가할 내용입니다.
utcExpiry System.DateTime 캐시된 항목이 만료되는 날짜와 시간입니다.
return object

Get() public method

출력 캐시에서 지정된 항목에 대한 참조를 반환합니다.
public Get ( string key ) : object
key string 출력 캐시에서 캐시된 항목에 대한 고유 식별자입니다.
return object

Remove() public method

출력 캐시에서 지정된 항목을 제거합니다.
public Remove ( string key ) : void
key string 출력 캐시에서 제거할 항목에 대한 고유 식별자입니다.
return void

Set() public method

지정된 항목을 출력 캐시에 삽입하고 이미 캐시되어 있는 경우 해당 항목을 덮어씁니다.
public Set ( string key, object entry, System.DateTime utcExpiry ) : void
key string 에 대한 고유 식별자입니다.
entry object 출력 캐시에 추가할 내용입니다.
utcExpiry System.DateTime 캐시된 가 만료되는 날짜와 시간입니다.
return void