C# 클래스 Sage.Configuration.EnvironmentConfiguration

Provides environment configuration options, such as IP address ranges.
상속: IXmlConvertible
파일 보기 프로젝트 열기: igorfrance/sage 1 사용 예제들

공개 메소드들

메소드 설명
EnvironmentConfiguration ( ) : System

Initializes a new instance of the EnvironmentConfiguration class.

IsBlockedIp ( string clientIpAddress ) : bool

Determines whether the specified clientIpAddress is configured to be blocked.

IsDeveloperIp ( string clientIpAddress ) : bool

Determines whether the specified clientIpAddress is configured to be treated as a developer.

Parse ( XmlElement configuration ) : void
ToXml ( XmlDocument document ) : XmlElement

비공개 메소드들

메소드 설명
EnvironmentConfiguration ( EnvironmentConfiguration init ) : System

Initializes a new instance of the EnvironmentConfiguration class, using the specified instance to initialize the content of this instance.

메소드 상세

EnvironmentConfiguration() 공개 메소드

Initializes a new instance of the EnvironmentConfiguration class.
public EnvironmentConfiguration ( ) : System
리턴 System

IsBlockedIp() 공개 메소드

Determines whether the specified clientIpAddress is configured to be blocked.
public IsBlockedIp ( string clientIpAddress ) : bool
clientIpAddress string The client IP address to test.
리턴 bool

IsDeveloperIp() 공개 메소드

Determines whether the specified clientIpAddress is configured to be treated as a developer.
public IsDeveloperIp ( string clientIpAddress ) : bool
clientIpAddress string The client IP address to test.
리턴 bool

Parse() 공개 메소드

public Parse ( XmlElement configuration ) : void
configuration System.Xml.XmlElement
리턴 void

ToXml() 공개 메소드

public ToXml ( XmlDocument document ) : XmlElement
document System.Xml.XmlDocument
리턴 System.Xml.XmlElement