mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-13 08:11:16 +00:00
15 lines
388 B
C#
15 lines
388 B
C#
using System;
|
|
using System.Threading;
|
|
|
|
namespace ZitiDesktopEdge.Server {
|
|
public class EventRegistry {
|
|
protected static SemaphoreSlim semaphoreSlim = new SemaphoreSlim(1, 1);
|
|
|
|
public static event EventHandler MyEvent;
|
|
|
|
public static void SendEventToConsumers(object objToSend) {
|
|
MyEvent?.Invoke(objToSend, null);
|
|
}
|
|
}
|
|
}
|