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

Class OutputCacheResponseFilter

Inheritance
System.Object
OutputCacheResponseFilter
DatabaseResponseFilter
FileResponseFilter
MemoryResponseFilter
Namespace: DotNetNuke.Services.OutputCache
Assembly: DotNetNuke.dll
Syntax
public abstract class OutputCacheResponseFilter : Stream

Constructors

| Improve this Doc View Source

OutputCacheResponseFilter(Stream, String, TimeSpan, Int32)

Initializes a new instance of the OutputCacheResponseFilter class.

Declaration
public OutputCacheResponseFilter(Stream filterChain, string cacheKey, TimeSpan cacheDuration, int maxVaryByCount)
Parameters
Type Name Description
Stream filterChain
System.String cacheKey
TimeSpan cacheDuration
System.Int32 maxVaryByCount

Properties

| Improve this Doc View Source

CacheDuration

Declaration
public TimeSpan CacheDuration { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

CacheKey

Declaration
public virtual string CacheKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CanRead

Declaration
public override bool CanRead { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanSeek

Declaration
public override bool CanSeek { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanWrite

Declaration
public override bool CanWrite { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CaptureStream

Declaration
public Stream CaptureStream { get; set; }
Property Value
Type Description
Stream
| Improve this Doc View Source

ChainedStream

Declaration
public Stream ChainedStream { get; set; }
Property Value
Type Description
Stream
| Improve this Doc View Source

HasErrored

Declaration
public bool HasErrored { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Length

Declaration
public override long Length { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

MaxVaryByCount

Declaration
public int MaxVaryByCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Position

Declaration
public override long Position { get; set; }
Property Value
Type Description
System.Int64

Methods

| Improve this Doc View Source

AddItemToCache(Int32, String)

Declaration
protected virtual void AddItemToCache(int itemId, string output)
Parameters
Type Name Description
System.Int32 itemId
System.String output
| Improve this Doc View Source

Flush()

Declaration
public override void Flush()
| Improve this Doc View Source

Read(Byte[], Int32, Int32)

Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 count
Returns
Type Description
System.Int32
| Improve this Doc View Source

RemoveItemFromCache(Int32)

Declaration
protected virtual void RemoveItemFromCache(int itemId)
Parameters
Type Name Description
System.Int32 itemId
| Improve this Doc View Source

Seek(Int64, SeekOrigin)

Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
Type Name Description
System.Int64 offset
SeekOrigin origin
Returns
Type Description
System.Int64
| Improve this Doc View Source

SetLength(Int64)

Declaration
public override void SetLength(long value)
Parameters
Type Name Description
System.Int64 value
| Improve this Doc View Source

StopFiltering(Int32, Boolean)

Declaration
public virtual byte[] StopFiltering(int itemId, bool deleteData)
Parameters
Type Name Description
System.Int32 itemId
System.Boolean deleteData
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

Write(Byte[], Int32, Int32)

Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 offset
System.Int32 count

Extension Methods

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