network-resurrector/NetworkResurrector.Server.A.../Commands/WakeMachine.cs

16 lines
441 B
C#
Raw Normal View History

using NDB.Application.DataContracts;
2021-04-06 02:17:11 +03:00
using NetworkResurrector.Server.Application.Events;
2020-11-25 17:01:14 +02:00
using System;
2021-04-06 02:17:11 +03:00
namespace NetworkResurrector.Server.Application.Commands
2020-11-25 17:01:14 +02:00
{
public class WakeMachine : Command<MachineWaked>
{
public string MacAddress { get; set; }
public WakeMachine(string macAddress) : base(new Metadata() { CorrelationId = Guid.NewGuid() })
{
MacAddress = macAddress;
}
}
}