ModelFactoryGenerateHtmlSection Method

Generates a new SectionDto for a custom page.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static SectionDto GenerateHtmlSection(
	Guid id,
	IStringLocalizer loc,
	string sectionHeader = "new"
)

Parameters

id  Guid
ID of the new HTML section
loc  IStringLocalizer
Localization service
sectionHeader  String  (Optional)
Section's header

Return Value

SectionDto
Generated HTML segment

See Also