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

16 lines
450 B
C#
Raw Normal View History

2020-11-28 20:06:43 +02:00
using NetworkResurrector.Application.Events;
using System;
namespace NetworkResurrector.Application.Commands
{
public class ShutdownMachine : Command<MachineShutdown>
{
public string IPAddressOrMachineName { get; set; }
public ShutdownMachine(string ipAddressOrMachineName) : base(new Metadata() { CorrelationId = Guid.NewGuid() })
{
IPAddressOrMachineName = ipAddressOrMachineName;
}
}
}