Class OutputCachingProvider
Inheritance
System.Object
OutputCachingProvider
Assembly: DotNetNuke.dll
Syntax
public abstract class OutputCachingProvider : object
Methods
|
Improve this Doc
View Source
ByteArrayToString(Byte[])
Declaration
protected string ByteArrayToString(byte[] arrInput)
Parameters
Type |
Name |
Description |
System.Byte[] |
arrInput |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GenerateCacheKey(Int32, StringCollection, StringCollection, SortedDictionary<String, String>)
Declaration
public virtual string GenerateCacheKey(int tabId, StringCollection includeVaryByKeys, StringCollection excludeVaryByKeys, SortedDictionary<string, string> varyBy)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
StringCollection |
includeVaryByKeys |
|
StringCollection |
excludeVaryByKeys |
|
SortedDictionary<System.String, System.String> |
varyBy |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GenerateCacheKeyHash(Int32, String)
Declaration
protected string GenerateCacheKeyHash(int tabId, string cacheKey)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetItemCount(Int32)
Declaration
public abstract int GetItemCount(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetOutput(Int32, String)
Declaration
public abstract byte[] GetOutput(int tabId, string cacheKey)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
System.String |
cacheKey |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
GetProviderList()
Declaration
public static Dictionary<string, OutputCachingProvider> GetProviderList()
Returns
|
Improve this Doc
View Source
GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)
Declaration
public abstract 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
|
Improve this Doc
View Source
Instance(String)
Declaration
public static OutputCachingProvider Instance(string friendlyName)
Parameters
Type |
Name |
Description |
System.String |
friendlyName |
|
Returns
|
Improve this Doc
View Source
PurgeCache(Int32)
Declaration
public virtual void PurgeCache(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
|
Improve this Doc
View Source
PurgeExpiredItems(Int32)
Declaration
public virtual void PurgeExpiredItems(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
|
Improve this Doc
View Source
Remove(Int32)
Declaration
public abstract void Remove(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
|
Improve this Doc
View Source
RemoveItemFromAllProviders(Int32)
Declaration
public static void RemoveItemFromAllProviders(int tabId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabId |
|
|
Improve this Doc
View Source
SetOutput(Int32, String, TimeSpan, Byte[])
Declaration
public abstract 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 |
|
|
Improve this Doc
View Source
StreamOutput(Int32, String, HttpContext)
Declaration
public abstract 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 |
|
|
Improve this Doc
View Source
WriteStreamAsText(HttpContext, Stream, Int64, Int64)
Declaration
protected void WriteStreamAsText(HttpContext context, Stream stream, long offset, long length)
Parameters
Type |
Name |
Description |
HttpContext |
context |
|
Stream |
stream |
|
System.Int64 |
offset |
|
System.Int64 |
length |
|
Extension Methods