Class ModuleCachingProvider
Inheritance
System.Object
ModuleCachingProvider
Assembly: DotNetNuke.dll
Syntax
public abstract class ModuleCachingProvider : 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, SortedDictionary<String, String>)
Declaration
public abstract string GenerateCacheKey(int tabModuleId, SortedDictionary<string, string> varyBy)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
SortedDictionary<System.String, System.String> |
varyBy |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetItemCount(Int32)
Declaration
public abstract int GetItemCount(int tabModuleId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetModule(Int32, String)
Declaration
public abstract byte[] GetModule(int tabModuleId, string cacheKey)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
System.String |
cacheKey |
|
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
GetProviderList()
Declaration
public static Dictionary<string, ModuleCachingProvider> GetProviderList()
Returns
|
Improve this Doc
View Source
Instance(String)
Declaration
public static ModuleCachingProvider 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 tabModuleId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
|
Improve this Doc
View Source
RemoveItemFromAllProviders(Int32)
Declaration
public static void RemoveItemFromAllProviders(int tabModuleId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
|
Improve this Doc
View Source
SetModule(Int32, String, TimeSpan, Byte[])
Declaration
public abstract void SetModule(int tabModuleId, string cacheKey, TimeSpan duration, byte[] moduleOutput)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
System.String |
cacheKey |
|
TimeSpan |
duration |
|
System.Byte[] |
moduleOutput |
|
Extension Methods