internal override void Execute(IMOTDBridge app) { logger.Info($"Got a notification the server, hasLink={HasLink}"); if (HasLink) { app.DisplayNotification(text, link, uri); } else { app.DisplayNotification(text); } }
internal override void Execute(IMOTDBridge app) { logger.Error("The server has returned an error: " + text); }
internal override void Execute(IMOTDBridge app) { logger.Info("The server has nothing interesting to say."); }
internal abstract void Execute(IMOTDBridge app);
public MOTDClient(string serverUri, IMOTDBridge app) { this.serverUri = serverUri; this.app = app; }
internal override void Execute(IMOTDBridge app) { logger.Info("Got a popup from the server"); app.DisplayPopup(title, url, width, height); }