Class TemplateVariableTypeMapper

Template variable type mapper.

Inheritance
object
TemplateVariableTypeMapper
Namespace: StylelabsStylelabs.MSdkMappers
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse

public static class TemplateVariableTypeMapper

Methods

Map(TemplateVariableType?)

Maps a TemplateVariableType to a string.

Declaration
RequestResponse

public static string Map(TemplateVariableType? type)
Parameters
TypeNameDescription
TemplateVariableTypetype

The TemplateVariableType to map.

Returns
TypeDescription
string

A string.

Exceptions
TypeCondition
InternalException

If the TemplateVariableType could be mapped.

Map(string)

Maps a string to a TemplateVariableType.

Declaration
RequestResponse

public static TemplateVariableType? Map(string type)
Parameters
TypeNameDescription
stringtype

The string type to map.

Returns
Exceptions
TypeCondition
InternalException

If the string could be map.

Do you have some feedback for us?

If you have suggestions for improving this article,