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