Show / Hide Table of Contents

Class OutputCacheResponseFilter

Inheritance
object
MarshalByRefObject
Stream
OutputCacheResponseFilter
DatabaseResponseFilter
FileResponseFilter
MemoryResponseFilter
Implements
IDisposable
Inherited Members
Stream.Null
Stream.CopyToAsync(Stream)
Stream.CopyToAsync(Stream, int)
Stream.CopyToAsync(Stream, int, CancellationToken)
Stream.CopyTo(Stream)
Stream.CopyTo(Stream, int)
Stream.Close()
Stream.Dispose()
Stream.Dispose(bool)
Stream.FlushAsync()
Stream.FlushAsync(CancellationToken)
Stream.CreateWaitHandle()
Stream.BeginRead(byte[], int, int, AsyncCallback, object)
Stream.EndRead(IAsyncResult)
Stream.ReadAsync(byte[], int, int)
Stream.ReadAsync(byte[], int, int, CancellationToken)
Stream.BeginWrite(byte[], int, int, AsyncCallback, object)
Stream.EndWrite(IAsyncResult)
Stream.WriteAsync(byte[], int, int)
Stream.WriteAsync(byte[], int, int, CancellationToken)
Stream.ReadByte()
Stream.WriteByte(byte)
Stream.Synchronized(Stream)
Stream.ObjectInvariant()
Stream.CanTimeout
Stream.ReadTimeout
Stream.WriteTimeout
MarshalByRefObject.MemberwiseClone(bool)
MarshalByRefObject.GetLifetimeService()
MarshalByRefObject.InitializeLifetimeService()
MarshalByRefObject.CreateObjRef(Type)
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.OutputCache
Assembly: DotNetNuke.dll
Syntax
public abstract class OutputCacheResponseFilter : Stream, IDisposable

Constructors

OutputCacheResponseFilter(Stream, string, TimeSpan, int)

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

Properties

CacheDuration

Declaration
public TimeSpan CacheDuration { get; set; }
Property Value
Type Description
TimeSpan

CacheKey

Declaration
public virtual string CacheKey { get; set; }
Property Value
Type Description
string

CanRead

Declaration
public override bool CanRead { get; }
Property Value
Type Description
bool
Overrides
Stream.CanRead

CanSeek

Declaration
public override bool CanSeek { get; }
Property Value
Type Description
bool
Overrides
Stream.CanSeek

CanWrite

Declaration
public override bool CanWrite { get; }
Property Value
Type Description
bool
Overrides
Stream.CanWrite

CaptureStream

Declaration
public Stream CaptureStream { get; set; }
Property Value
Type Description
Stream

ChainedStream

Declaration
public Stream ChainedStream { get; set; }
Property Value
Type Description
Stream

HasErrored

Declaration
public bool HasErrored { get; set; }
Property Value
Type Description
bool

Length

Declaration
public override long Length { get; }
Property Value
Type Description
long
Overrides
Stream.Length

MaxVaryByCount

Declaration
public int MaxVaryByCount { get; set; }
Property Value
Type Description
int

Position

Declaration
public override long Position { get; set; }
Property Value
Type Description
long
Overrides
Stream.Position

Methods

AddItemToCache(int, string)

Declaration
protected virtual void AddItemToCache(int itemId, string output)
Parameters
Type Name Description
int itemId
string output

Flush()

Declaration
public override void Flush()
Overrides
Stream.Flush()

Read(byte[], int, int)

Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
Type Name Description
byte[] buffer
int offset
int count
Returns
Type Description
int
Overrides
Stream.Read(byte[], int, int)

RemoveItemFromCache(int)

Declaration
protected virtual void RemoveItemFromCache(int itemId)
Parameters
Type Name Description
int itemId

Seek(long, SeekOrigin)

Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
Type Name Description
long offset
SeekOrigin origin
Returns
Type Description
long
Overrides
Stream.Seek(long, SeekOrigin)

SetLength(long)

Declaration
public override void SetLength(long value)
Parameters
Type Name Description
long value
Overrides
Stream.SetLength(long)

StopFiltering(int, bool)

Declaration
public virtual byte[] StopFiltering(int itemId, bool deleteData)
Parameters
Type Name Description
int itemId
bool deleteData
Returns
Type Description
byte[]

Write(byte[], int, int)

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

Implements

IDisposable

Extension Methods

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