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

7 lines
177 B
C#
Raw Normal View History

2022-08-30 15:05:29 +00:00
namespace SharpChat.Events {
public static class IEventExtensions {
public static bool IsBroadcast(this IEvent evt)
=> evt.ChannelId == null;
}
}