ModelFactoryGenerateCustomPage Method

Generates a new CustomPageDto based on the given parameters.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static CustomPageDto GenerateCustomPage(
	AccountDto createdBy,
	IStringLocalizer loc,
	string languageCode = "nl",
	string? label = null
)

Parameters

createdBy  AccountDto
User creating the custom page
loc  IStringLocalizer
Localization tool
languageCode  String  (Optional)
The current language code
label  String  (Optional)
Optional; label for the custom page

Return Value

CustomPageDto
Generated CustomPageDto

See Also