namespace ConsoleApp1.intf { public interface ISubscriber where TMsgType : IMessage { void FireEvent(TMsgType message); } }