C# Class i18n.Web.HttpContextLangExtensions

Mostrar archivo Open project: xianjing/i18n

Public Methods

Method Description
GetLang ( this context ) : object
GetText ( this context, string text ) : string
SetLang ( this context, string language ) : void
_ ( this context, string text ) : string

Private Methods

Method Description
GetLanguages ( System.Web.HttpContextBase context ) : string[]

Method Details

GetLang() public static method

public static GetLang ( this context ) : object
context this
return object

GetText() public static method

public static GetText ( this context, string text ) : string
context this
text string
return string

SetLang() public static method

public static SetLang ( this context, string language ) : void
context this
language string
return void

_() public static method

public static _ ( this context, string text ) : string
context this
text string
return string