AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

DomainLanguageHelper..::..GetLanguage Method (SQL, Domain, String, HttpContext)

Gets the language.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static Language GetLanguage(
	SQL currentSql,
	Domain currentDomain,
	string langAbrev,
	HttpContext context
)

Parameters

currentSql
Type: AdvantageCMS.Data..::..SQL
The current SQL.
currentDomain
Type: AdvantageCMS.Core.Common.BusinessEntity..::..Domain
The current domain.
langAbrev
Type: String
The language abrev.
context
Type: HttpContext
The context.

Return Value

Language.