ModelFactoryGenerateTemplateParameter Method

Generates a new parameter for a TemplateDto

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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