Method | Description | |
---|---|---|
Cache ( this html, string cacheKey, System.Web.Caching.CacheDependency cacheDependency, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, Func |
View页面片断缓存
|
|
Cache ( this html, string cacheKey, System.DateTime absoluteExpiration, Func |
View页面片断缓存
|
|
Cache ( this html, string cacheKey, System.TimeSpan slidingExpiration, Func |
View页面片断缓存
|
|
Cache ( this html, string cacheKey, System.Web.Caching.CacheDependency cacheDependency, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, System.Action action ) : void |
View页面片断缓存
|
|
Cache ( this html, string cacheKey, System.DateTime absoluteExpiration, System.Action action ) : void |
View页面片断缓存
|
|
Cache ( this html, string cacheKey, System.TimeSpan slidingExpiration, System.Action action ) : void |
View页面片断缓存
|
|
CreateCacheWriter ( this html, |
创建用于片断缓存的 RecordWriter
|
Method | Description | |
---|---|---|
GetRecordWriter ( this html ) : OSharp.Web.Mvc.Extensions.RecordWriter | ||
SetRecordWriter ( this html, OSharp.Web.Mvc.Extensions.RecordWriter writer ) : void |
public static Cache ( this html, string cacheKey, System.Web.Caching.CacheDependency cacheDependency, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, Func | ||
html | this | |
cacheKey | string | 缓存键 |
cacheDependency | System.Web.Caching.CacheDependency | 缓存依赖项 |
absoluteExpiration | System.DateTime | 绝对过期时间 |
slidingExpiration | System.TimeSpan | 滑动过期时间 |
func | Func | 缓存无效时获取页面内容的委托 |
return | string |
public static Cache ( this html, string cacheKey, System.DateTime absoluteExpiration, Func | ||
html | this | |
cacheKey | string | 缓存键 |
absoluteExpiration | System.DateTime | 绝对过期时间 |
func | Func | 缓存无效时获取页面内容的委托 |
return | string |
public static Cache ( this html, string cacheKey, System.TimeSpan slidingExpiration, Func | ||
html | this | |
cacheKey | string | 缓存键 |
slidingExpiration | System.TimeSpan | 滑动过期时间 |
func | Func | 缓存无效时获取页面内容的委托 |
return | string |
public static Cache ( this html, string cacheKey, System.Web.Caching.CacheDependency cacheDependency, System.DateTime absoluteExpiration, System.TimeSpan slidingExpiration, System.Action action ) : void | ||
html | this | |
cacheKey | string | 缓存键 |
cacheDependency | System.Web.Caching.CacheDependency | 缓存依赖项 |
absoluteExpiration | System.DateTime | 绝对过期时间 |
slidingExpiration | System.TimeSpan | 滑动过期时间 |
action | System.Action | 缓存无效时执行的页面内容片断 |
return | void |
public static Cache ( this html, string cacheKey, System.DateTime absoluteExpiration, System.Action action ) : void | ||
html | this | |
cacheKey | string | 缓存键 |
absoluteExpiration | System.DateTime | 绝对过期时间 |
action | System.Action | 缓存无效时执行的页面内容片断 |
return | void |
public static Cache ( this html, string cacheKey, System.TimeSpan slidingExpiration, System.Action action ) : void | ||
html | this | |
cacheKey | string | 缓存键 |
slidingExpiration | System.TimeSpan | 滑动过期时间 |
action | System.Action | 缓存无效时执行的页面内容片断 |
return | void |
public static CreateCacheWriter ( this html, |
||
html | this | |
writer | ||
return |