Class PlotConfigurationMapper
Represents a mapper that converts objects between PlotConfiguration and
Namespace: Unity.DigitalTwins.Live.Sdk.Mappers.Configurations.Plots
Assembly: solution.dll
Syntax
public static class PlotConfigurationMapper
Methods
ToClientModel<TDestination>(PlotConfiguration)
Gets a
Declaration
public static TDestination ToClientModel<TDestination>(this PlotConfiguration obj)
where TDestination : PlotResource, new()
Parameters
| Type | Name | Description |
|---|---|---|
| PlotConfiguration | obj | The converting source. |
Returns
| Type | Description |
|---|---|
| TDestination | The converted result. |
Type Parameters
| Name | Description |
|---|---|
| TDestination |
ToServiceModel<TDestination>(PlotResource)
Gets a PlotConfiguration by converting a
Declaration
public static TDestination ToServiceModel<TDestination>(this PlotResource obj)
where TDestination : PlotConfiguration, new()
Parameters
| Type | Name | Description |
|---|---|---|
| PlotResource | obj | The converting source. |
Returns
| Type | Description |
|---|---|
| TDestination | The converted result. |
Type Parameters
| Name | Description |
|---|---|
| TDestination |