mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-22 15:16:00 +08:00
33 lines
622 B
C#
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; }
|
|
} |