Table of Contents

Class IisOutputCachingRule

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a Microsoft IIS output caching rule.

public class IisOutputCachingRule : IisConfigurationElement, IComparable<IisOutputCachingRule>
Inheritance
IisOutputCachingRule
Implements
Inherited Members

Constructors

IisOutputCachingRule()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.IisOutputCachingRule class.

public IisOutputCachingRule()

Properties

Duration

Gets or sets the cache duration.

public SerializableTimeSpan Duration { get; set; }

Property Value

SerializableTimeSpan

Extension

Gets or sets the extension to which the output caching rule applies.

public string Extension { get; set; }

Property Value

string

KernelModePolicy

Gets or sets the kernel mode policy.

public IisOutputCachingRulePolicy KernelModePolicy { get; set; }

Property Value

IisOutputCachingRulePolicy

Location

Gets or sets the cache location.

public IisOutputCachingRuleLocation Location { get; set; }

Property Value

IisOutputCachingRuleLocation

UserModePolicy

Gets or sets the user mode policy.

public IisOutputCachingRulePolicy UserModePolicy { get; set; }

Property Value

IisOutputCachingRulePolicy

VaryByHeaders

Gets or sets the headers by which the cache should vary.

public string VaryByHeaders { get; set; }

Property Value

string

VaryByQueryStringVariables

Gets or sets the query string variables by which the cache should vary.

public string VaryByQueryStringVariables { get; set; }

Property Value

string

Methods

CompareTo(IisOutputCachingRule)

Compares two CENTREL.XIA.Configuration.Types.IisOutputCachingRule objects to allow sorting alphabetically by extension.

public int CompareTo(IisOutputCachingRule other)

Parameters

other IisOutputCachingRule

The CENTREL.XIA.Configuration.Types.IisOutputCachingRule to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.IisOutputCachingRule objects.

ToString()

Returns the output caching rule as a human readable string.

public override string ToString()

Returns

string

The output caching rule as a human readable string.