ModelFactoryGenerateTemplateLocalization Method

Generates a new TemplateLocalizationDto for a template.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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