Show / Hide Table of Contents

Class FileProvider

Inheritance
object
ModuleCachingProvider
FileProvider
Inherited Members
ModuleCachingProvider.GetProviderList()
ModuleCachingProvider.Instance(string)
ModuleCachingProvider.RemoveItemFromAllProviders(int)
ModuleCachingProvider.ByteArrayToString(byte[])
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.ModuleCache
Assembly: DotNetNuke.dll
Syntax
public class FileProvider : ModuleCachingProvider

Constructors

FileProvider()

Declaration
public FileProvider()

Methods

GenerateCacheKey(int, SortedDictionary<string, string>)

Declaration
public override string GenerateCacheKey(int tabModuleId, SortedDictionary<string, string> varyBy)
Parameters
Type Name Description
int tabModuleId
SortedDictionary<string, string> varyBy
Returns
Type Description
string
Overrides
ModuleCachingProvider.GenerateCacheKey(int, SortedDictionary<string, string>)

GetItemCount(int)

Declaration
public override int GetItemCount(int tabModuleId)
Parameters
Type Name Description
int tabModuleId
Returns
Type Description
int
Overrides
ModuleCachingProvider.GetItemCount(int)

GetModule(int, string)

Declaration
public override byte[] GetModule(int tabModuleId, string cacheKey)
Parameters
Type Name Description
int tabModuleId
string cacheKey
Returns
Type Description
byte[]
Overrides
ModuleCachingProvider.GetModule(int, string)

PurgeCache(int)

Declaration
public override void PurgeCache(int portalId)
Parameters
Type Name Description
int portalId
Overrides
ModuleCachingProvider.PurgeCache(int)

PurgeExpiredItems(int)

Declaration
public override void PurgeExpiredItems(int portalId)
Parameters
Type Name Description
int portalId
Overrides
ModuleCachingProvider.PurgeExpiredItems(int)

Remove(int)

Declaration
public override void Remove(int tabModuleId)
Parameters
Type Name Description
int tabModuleId
Overrides
ModuleCachingProvider.Remove(int)

SetModule(int, string, TimeSpan, byte[])

Declaration
public override void SetModule(int tabModuleId, string cacheKey, TimeSpan duration, byte[] output)
Parameters
Type Name Description
int tabModuleId
string cacheKey
TimeSpan duration
byte[] output
Overrides
ModuleCachingProvider.SetModule(int, string, TimeSpan, byte[])

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS