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
KernelModePolicy
Gets or sets the kernel mode policy.
public IisOutputCachingRulePolicy KernelModePolicy { get; set; }
Property Value
Location
Gets or sets the cache location.
public IisOutputCachingRuleLocation Location { get; set; }
Property Value
UserModePolicy
Gets or sets the user mode policy.
public IisOutputCachingRulePolicy UserModePolicy { get; set; }
Property Value
VaryByHeaders
Gets or sets the headers by which the cache should vary.
public string VaryByHeaders { get; set; }
Property Value
VaryByQueryStringVariables
Gets or sets the query string variables by which the cache should vary.
public string VaryByQueryStringVariables { get; set; }
Property Value
Methods
CompareTo(IisOutputCachingRule)
Compares two CENTREL.XIA.Configuration.Types.IisOutputCachingRule objects to allow sorting alphabetically by extension.
public int CompareTo(IisOutputCachingRule other)
Parameters
other
IisOutputCachingRuleThe 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.