1. Stylelabs.M.Sdk.Mappers

Class TemplateVariableTypeMapper

Template variable type mapper.

Inheritance

object

TemplateVariableTypeMapper

Namespace: StylelabsStylelabs.MSdkMappers

Assembly: Stylelabs.M.Sdk.dll

Syntax

public static class TemplateVariableTypeMapper

Methods

Map(TemplateVariableType?)

Maps a TemplateVariableType to a string.

Declaration

public static string Map(TemplateVariableType? type)

Parameters

TypeNameDescription
TemplateVariableTypetypeThe TemplateVariableType to map.

Returns

TypeDescription
stringA string.

Exceptions

TypeCondition
InternalExceptionIf the TemplateVariableType could be mapped.

Map(string)

Maps a string to a TemplateVariableType.

Declaration

public static TemplateVariableType? Map(string type)

Parameters

TypeNameDescription
stringtypeThe string type to map.

Returns

Exceptions

TypeCondition
InternalExceptionIf the string could be map.
If you have suggestions for improving this article, let us know!