Class CustomPropertiesMapper
Represents a mapper that converts objects between CustomProperties and "CustomPropertiesResource".
Namespace: Unity.DigitalTwins.Live.Sdk.Mappers.DataAssociations
Assembly: solution.dll
Syntax
public static class CustomPropertiesMapper
Methods
ToClientModel(CustomProperties)
Gets a "CustomPropertiesResource" by converting a CustomProperties.
Declaration
public static CustomPropertiesResource ToClientModel(this CustomProperties obj)
Parameters
Type | Name | Description |
---|---|---|
CustomProperties | obj | The converting source. |
Returns
Type | Description |
---|---|
CustomPropertiesResource | The converted result. |
ToServiceModel(CustomPropertiesResource)
Gets a CustomProperties by converting a "CustomPropertiesResource".
Declaration
public static CustomProperties ToServiceModel(this CustomPropertiesResource obj)
Parameters
Type | Name | Description |
---|---|---|
CustomPropertiesResource | obj | The converting source. |
Returns
Type | Description |
---|---|
CustomProperties | The converted result. |