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

16 lines
388 B
C#
Raw Normal View History

2020-11-28 17:03:50 +02:00
using NetworkResurrector.Application.Events;
using System;
namespace NetworkResurrector.Application.Commands
{
public class PingMachine : Command<MachinePinged>
{
public string IPAddress { get; set; }
public PingMachine(string ipAddress) : base(new Metadata() { CorrelationId = Guid.NewGuid() })
{
IPAddress = ipAddress;
}
}
}