public static void Intergate(Action <EndPointMessage> onLoad) { var service = new NotifyService(); service.MessageLoad += onLoad; service.Start(); }
public NotifyService() : base() { Default = this; }