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