ModelFactoryGenerateHelp Method

Generates a new HelpDto based on the given parameters.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public static HelpDto GenerateHelp(
	AccountDto createdBy,
	Guid? parentId,
	IStringLocalizer loc,
	string topicName,
	SectionDto? htmlSectionDto,
	string languageCode = "nl"
)

Parameters

createdBy  AccountDto
User creating the help
parentId  NullableGuid
Parent ID
loc  IStringLocalizer
Localization tool
topicName  String
Topic's name
htmlSectionDto  SectionDto
HTML section to insert (if left empty, a basic page will be created)
languageCode  String  (Optional)
The current language code

Return Value

HelpDto
Generated HelpDto

See Also