sharp-chat/SharpChat.Common/Events/IEventDispatcher.cs

7 lines
244 B
C#

namespace SharpChat.Events {
public interface IEventDispatcher {
void AddEventHandler(IEventHandler handler);
void RemoveEventHandler(IEventHandler handler);
void DispatchEvent(object sender, IEvent evt);
}
}