ModelFactoryGenerateTemplateParameter Method

Generates a new parameter for a TemplateDto

Definition

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