16 lines
450 B
C#
16 lines
450 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|