Class MemoryProvider
Inheritance
System.Object
MemoryProvider
Assembly: DotNetNuke.dll
Syntax
public class MemoryProvider : ModuleCachingProvider
Methods
|
Improve this Doc
View Source
GenerateCacheKey(Int32, SortedDictionary<String, String>)
Declaration
public override 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 |
|
Overrides
|
Improve this Doc
View Source
GetItemCount(Int32)
Declaration
public override int GetItemCount(int tabModuleId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetModule(Int32, String)
Declaration
public override byte[] GetModule(int tabModuleId, string cacheKey)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
System.String |
cacheKey |
|
Returns
Type |
Description |
System.Byte[] |
|
Overrides
|
Improve this Doc
View Source
PurgeCache(Int32)
Declaration
public override void PurgeCache(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Overrides
|
Improve this Doc
View Source
PurgeExpiredItems(Int32)
Declaration
public override void PurgeExpiredItems(int portalId)
Parameters
Type |
Name |
Description |
System.Int32 |
portalId |
|
Overrides
|
Improve this Doc
View Source
Remove(Int32)
Declaration
public override void Remove(int tabModuleId)
Parameters
Type |
Name |
Description |
System.Int32 |
tabModuleId |
|
Overrides
|
Improve this Doc
View Source
SetModule(Int32, String, TimeSpan, Byte[])
Declaration
public override 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 |
|
Overrides
Extension Methods