C# 클래스 Open.Core.Web.ServerExtensions

파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
IsLocalHost ( this request ) : bool

Determines whether the application is running on the 'localhost' domain.

PrependDomain ( this urlPath ) : string

Prepends the server name to the given url.

메소드 상세

IsLocalHost() 공개 정적인 메소드

Determines whether the application is running on the 'localhost' domain.
public static IsLocalHost ( this request ) : bool
request this The HTTP request to examine.
리턴 bool

PrependDomain() 공개 정적인 메소드

Prepends the server name to the given url.
public static PrependDomain ( this urlPath ) : string
urlPath this The URL path to prepend.
리턴 string