C# 클래스 Rolcore.Web.HttpContextExtensions

Extension methods for HttpContext.
파일 보기 프로젝트 열기: Rollins/Rolcore

공개 메소드들

메소드 설명
GetClientLanguageCode ( this httpContext ) : string

Code indicating preferred client language.

GetSiteBaseUrl ( this httpContext ) : Uri

The base URL of the current website based on the current request. This can be overridden in the Web.Config by adding a Site.BaseUrl configSetting.

GetUnrewrittenUrl ( this httpContext ) : string
SetClientLanguageCode ( this httpContext, string value ) : void
SetUnrewrittenUrl ( this httpContext, Uri value ) : void
SetUnrewrittenUrl ( this httpContext, string value ) : void

메소드 상세

GetClientLanguageCode() 공개 정적인 메소드

Code indicating preferred client language.
public static GetClientLanguageCode ( this httpContext ) : string
httpContext this
리턴 string

GetSiteBaseUrl() 공개 정적인 메소드

The base URL of the current website based on the current request. This can be overridden in the Web.Config by adding a Site.BaseUrl configSetting.
public static GetSiteBaseUrl ( this httpContext ) : Uri
httpContext this
리턴 System.Uri

GetUnrewrittenUrl() 공개 정적인 메소드

public static GetUnrewrittenUrl ( this httpContext ) : string
httpContext this
리턴 string

SetClientLanguageCode() 공개 정적인 메소드

public static SetClientLanguageCode ( this httpContext, string value ) : void
httpContext this
value string
리턴 void

SetUnrewrittenUrl() 공개 정적인 메소드

public static SetUnrewrittenUrl ( this httpContext, Uri value ) : void
httpContext this
value System.Uri
리턴 void

SetUnrewrittenUrl() 공개 정적인 메소드

public static SetUnrewrittenUrl ( this httpContext, string value ) : void
httpContext this
value string
리턴 void