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