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