Files
AgileConfig/src/AgileConfig.Server.Event/ServiceInfoStatusUpdateEvents.cs
2025-11-11 01:13:34 +08:00

33 lines
622 B
C#

using AgileConfig.Server.Common.EventBus;
namespace AgileConfig.Server.Event;
public class ServiceRegisteredEvent : IEvent
{
public ServiceRegisteredEvent(string uniqueId)
{
UniqueId = uniqueId;
}
public string UniqueId { get; }
}
public class ServiceUnRegisterEvent : IEvent
{
public ServiceUnRegisterEvent(string uniqueId)
{
UniqueId = uniqueId;
}
public string UniqueId { get; }
}
public class ServiceStatusUpdateEvent : IEvent
{
public ServiceStatusUpdateEvent(string uniqueId)
{
UniqueId = uniqueId;
}
public string UniqueId { get; }
}