• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class MemoryProvider

MemoryResponseFilter implements the OutputCachingProvider for memory storage.

Inheritance
System.Object
OutputCachingProvider
MemoryProvider
Inherited Members
OutputCachingProvider.GetProviderList()
OutputCachingProvider.Instance(String)
OutputCachingProvider.RemoveItemFromAllProviders(Int32)
OutputCachingProvider.GenerateCacheKey(Int32, StringCollection, StringCollection, SortedDictionary<String, String>)
OutputCachingProvider.ByteArrayToString(Byte[])
OutputCachingProvider.GenerateCacheKeyHash(Int32, String)
OutputCachingProvider.WriteStreamAsText(HttpContext, Stream, Int64, Int64)
Namespace: DotNetNuke.Services.OutputCache.Providers
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
OutputCachingProvider.GetItemCount(Int32)
| 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
OutputCachingProvider.GetOutput(Int32, String)
| 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
Type Description
OutputCacheResponseFilter
Overrides
OutputCachingProvider.GetResponseFilter(Int32, Int32, Stream, String, TimeSpan)
| 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
OutputCachingProvider.PurgeCache(Int32)
| 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
OutputCachingProvider.PurgeExpiredItems(Int32)
| 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
OutputCachingProvider.Remove(Int32)
| 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
OutputCachingProvider.SetOutput(Int32, String, TimeSpan, Byte[])
| 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
OutputCachingProvider.StreamOutput(Int32, String, HttpContext)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS