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