Table of Contents

Class IisStaticCompressionSettings

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

Represents the IIS static compression settings.

public class IisStaticCompressionSettings : BypassSection
Inheritance
IisStaticCompressionSettings
Inherited Members

Constructors

IisStaticCompressionSettings()

Intializes a new instance of the CENTREL.XIA.Configuration.Types.IisStaticCompressionSettings class.

public IisStaticCompressionSettings()

Properties

Enabled

Gets or sets whether static compression is enabled.

public BooleanOption Enabled { get; set; }

Property Value

BooleanOption

HttpCompression

Gets or sets the HTTP compression settings. This only applies at the server level.

public IisStaticHttpCompressionSettings HttpCompression { get; set; }

Property Value

IisStaticHttpCompressionSettings

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.IisStaticCompressionSettings class from the specified Xml.

public static IisStaticCompressionSettings FromXml(string xml)

Parameters

xml string

The XML representation of the CENTREL.XIA.Configuration.Types.IisStaticCompressionSettings object

Returns

IisStaticCompressionSettings

A CENTREL.XIA.Configuration.Types.IisStaticCompressionSettings class from the specified Xml.

ToString()

Returns the static compression settings as a human readable string.

public override string ToString()

Returns

string

The static compression settings as a human readable string.