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

6 lines
177 B
C#

namespace SharpChat.Events {
public static class IEventExtensions {
public static bool IsBroadcast(this IEvent evt)
=> evt.ChannelId == null;
}
}