mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
25 lines
584 B
C#
25 lines
584 B
C#
using Remotely.Shared.Enums;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace Remotely.Shared.Models.RemoteControlDtos
|
|
{
|
|
[DataContract]
|
|
public class ScreenSizeDto : BaseDto
|
|
{
|
|
public ScreenSizeDto(int width, int height)
|
|
{
|
|
Width = width;
|
|
Height = height;
|
|
}
|
|
|
|
[DataMember(Name = "Width")]
|
|
public int Width { get; }
|
|
|
|
[DataMember(Name = "Height")]
|
|
public int Height { get; }
|
|
|
|
[DataMember(Name = "DtoType")]
|
|
public new BaseDtoType DtoType { get; } = BaseDtoType.ScreenSize;
|
|
}
|
|
}
|