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

16 lines
441 B
C#

using NDB.Application.DataContracts;
using NetworkResurrector.Server.Application.Events;
using System;
namespace NetworkResurrector.Server.Application.Commands
{
public class WakeMachine : Command<MachineWaked>
{
public string MacAddress { get; set; }
public WakeMachine(string macAddress) : base(new Metadata() { CorrelationId = Guid.NewGuid() })
{
MacAddress = macAddress;
}
}
}