AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CMSAdminEngine..::..GetLanguage Method

Gets a request-scoped clone of the language with the given Id. Returns null if no language exists with that Id (active or inactive). The returned Language Returns the cached frozen Language for the given ID. Callers cannot mutate; call Clone()()()() if a mutable copy is needed.

Namespace:  AdvantageCMS.Core.Admin.Engine
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public Language GetLanguage(
	int languageId
)

Parameters

languageId
Type: Int32
The language identifier.

Return Value

The matching frozen Language, or null.