ModelFactoryGenerateTemplateLocalization Method

Generates a new TemplateLocalizationDto for a template.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static TemplateLocalizationDto GenerateTemplateLocalization(
	CultureInfo culture,
	string content
)

Parameters

culture  CultureInfo
Culture to generate the template localization for
content  String
Contents of the template for this locale

Return Value

TemplateLocalizationDto
Generated template section for the specified localization

Exceptions

ArgumentNullExceptionthrown if culture or content is . content is allowed to be empty, however.

See Also