C# 클래스 Decision.Common.HttpCompress.Settings

파일 보기 프로젝트 열기: rabbal/Decision 1 사용 예제들

공개 메소드들

메소드 설명
AddSettings ( XmlNode node ) : void

Suck in some more changes from an XmlNode. Handy for config file parenting.

GetSettings ( ) : Settings

Get the current settings from the xml config file

IsExcludedMimeType ( string mimetype ) : bool

Checks a given mime type to determine if it has been excluded from compression

IsExcludedPath ( string relUrl ) : bool

Looks for a given path in the list of paths excluded from compression

Settings ( XmlNode node ) : System

Create an HttpCompressionModuleSettings from an XmlNode

비공개 메소드들

메소드 설명
InitTypes ( ) : void
ParseExcludedPaths ( XmlNode node ) : void
ParseExcludedTypes ( XmlNode node ) : void
Settings ( ) : System

메소드 상세

AddSettings() 공개 메소드

Suck in some more changes from an XmlNode. Handy for config file parenting.
public AddSettings ( XmlNode node ) : void
node System.Xml.XmlNode The node to read from
리턴 void

GetSettings() 공개 정적인 메소드

Get the current settings from the xml config file
public static GetSettings ( ) : Settings
리턴 Settings

IsExcludedMimeType() 공개 메소드

Checks a given mime type to determine if it has been excluded from compression
public IsExcludedMimeType ( string mimetype ) : bool
mimetype string The MimeType to check. Can include wildcards like image/* or */xml.
리턴 bool

IsExcludedPath() 공개 메소드

Looks for a given path in the list of paths excluded from compression
public IsExcludedPath ( string relUrl ) : bool
relUrl string the relative url to check
리턴 bool

Settings() 공개 메소드

Create an HttpCompressionModuleSettings from an XmlNode
public Settings ( XmlNode node ) : System
node System.Xml.XmlNode The XmlNode to configure from
리턴 System