Class TemplateVariableTypeMapper
Template variable type mapper.
Inheritance
object
TemplateVariableTypeMapper
Namespace: StylelabsStylelabs.MSdkMappers
Assembly: Stylelabs.M.Sdk.dll
Syntax
Methods
Map(TemplateVariableType?)
Maps a TemplateVariableType to a string.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| TemplateVariableType | type | The TemplateVariableType to map. |
Returns
| Type | Description |
|---|---|
| string | A string. |
Exceptions
| Type | Condition |
|---|---|
| InternalException | If the TemplateVariableType could be mapped. |
Map(string)
Maps a string to a TemplateVariableType.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | type | The string type to map. |
Returns
| Type | Description |
|---|---|
| TemplateVariableType | The TemplateVariableType. |
Exceptions
| Type | Condition |
|---|---|
| InternalException | If the string could be map. |
If you have suggestions for improving this article, let us know!