/// <summary> /// Initialize the UI updaters. /// </summary> public static void InitializeUIUpdaters() { ConnectionStatusUpdater = new UIUpdaters.ConnectionStatusUpdater(MainWindowViewModel); ServerListUpdater = new UIUpdaters.ServerListUpdater(); AccountInfoUpdater = new UIUpdaters.AccountInfoUpdater(MainWindowViewModel); IPInfoUpdater = new UIUpdaters.IpInfoUpdater(); VersionUpdater = new UIUpdaters.VersionUpdater(); ToastManager = new UIUpdaters.ToastManager(); PingManager = new Network.Pinger(); StartUIUpdaters(); }
/// <summary> /// Initializes the IP information. /// </summary> public static void InitializeIpInfo() { IPInfoUpdater = new UIUpdaters.IpInfoUpdater(); }