ModelFactoryGenerateTemplateParameter Method

Generates a new parameter for a TemplateDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static TemplateParameterDto GenerateTemplateParameter(
	Guid id,
	string label,
	ParameterType type
)

Parameters

id  Guid
ID of the parameter
label  String
Label of the parameter
type  ParameterType
Type of the parameter

Return Value

TemplateParameterDto
Generated parameter

Exceptions

ArgumentExceptionThrown if any of the parameters isn't set.

See Also