ModelFactoryGenerateTemplateLocalization Method

Generates a new TemplateLocalizationDto for a template.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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