Метод | Описание | |
---|---|---|
Config ( Action |
Apply configuration to cache attribute
|
|
Duration ( uint durationSeconds ) : |
Set cache duration in seconds
|
|
StaleWhileRevalidate ( uint durationSeconds ) : |
Set stale while revalidate
|
|
VaryByCustom ( string customParams ) : |
Set vary by custom
|
|
VaryByParam ( string @params ) : |
Set vary by params
|
Метод | Описание | |
---|---|---|
CacheOutputForAllMethod ( uint defaultDuration ) : System | ||
IDynamicCacheStrategy ( ) : OutputCacheAttribute>>.IEnumerable |
Get all attributes
|
public Config ( Action |
||
configuration | Action |
|
Результат |
public Duration ( uint durationSeconds ) : |
||
durationSeconds | uint | |
Результат |
public StaleWhileRevalidate ( uint durationSeconds ) : |
||
durationSeconds | uint | |
Результат |
public VaryByCustom ( string customParams ) : |
||
customParams | string | |
Результат |
public VaryByParam ( string @params ) : |
||
@params | string | |
Результат |