Class MemoryProvider
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Inheritance
System.Object
MemoryProvider
Assembly: DotNetNuke.dll
Syntax
public class MemoryProvider : OutputCachingProvider
Fields
|
Improve this Doc
View Source
cachePrefix
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
protected const string cachePrefix = null
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
GenerateCacheKey(Int32, System.Collections.Specialized.StringCollection, System.Collections.Specialized.StringCollection, SortedDictionary<String, String>)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override string GenerateCacheKey(int tabId, System.Collections.Specialized.StringCollection includeVaryByKeys, System.Collections.Specialized.StringCollection excludeVaryByKeys, SortedDictionary<string, string> varyBy)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.Collections.Specialized.StringCollection |
includeVaryByKeys |
|
System.Collections.Specialized.StringCollection |
excludeVaryByKeys |
|
SortedDictionary<System.String, System.String> |
varyBy |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetItemCount(Int32)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override int GetItemCount(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetOutput(Int32, String)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override byte[] GetOutput(int tabId, string cacheKey)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
Returns
Type |
Description |
System.Byte[] |
|
Overrides
|
Improve this Doc
View Source
GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override OutputCacheResponseFilter GetResponseFilter(int tabId, int maxVaryByCount, Stream responseFilter, string cacheKey, TimeSpan cacheDuration)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.Int32 |
maxVaryByCount |
|
Stream |
responseFilter |
|
System.String |
cacheKey |
|
TimeSpan |
cacheDuration |
|
Returns
Overrides
|
Improve this Doc
View Source
PurgeCache(Int32)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override void PurgeCache(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Overrides
|
Improve this Doc
View Source
PurgeExpiredItems(Int32)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override void PurgeExpiredItems(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Overrides
|
Improve this Doc
View Source
Remove(Int32)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override void Remove(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Overrides
|
Improve this Doc
View Source
SetOutput(Int32, String, TimeSpan, Byte[])
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override void SetOutput(int tabId, string cacheKey, TimeSpan duration, byte[] output)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
TimeSpan |
duration |
|
System.Byte[] |
output |
|
Overrides
|
Improve this Doc
View Source
StreamOutput(Int32, String, HttpContext)
MemoryResponseFilter implements the OutputCachingProvider for memory storage.
Declaration
public override bool StreamOutput(int tabId, string cacheKey, HttpContext context)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
HttpContext |
context |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Extension Methods