network-resurrector/NetworkResurrector.Application/Commands/WakeMachine.cs

16 lines
427 B
C#
Raw Normal View History

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