static AppShellService() { _appShellService = Xpcom.GetService2 <nsIAppShellService>(Contracts.AppShellService); }
static ConsoleService() { _consoleService = Xpcom.GetService2 <nsIConsoleService>(Contracts.ConsoleService); }
static CookieManager() { _cookieManager = Xpcom.GetService2 <nsICookieManager2>(Contracts.CookieManager); }
static IOService() { _service = Xpcom.GetService2 <nsIIOService>(Contracts.NetworkIOService); }
static WiFiMonitor() { _wifiMonitor = Xpcom.GetService2 <nsIWifiMonitor>(Contracts.WiFiMonitor); }
static GeckoPreferences() { // ensure we're initialized Xpcom.Initialize(); _prefService = Xpcom.GetService2 <nsIPrefService>(Contracts.PreferenceService); }
static XulRuntime() { _xulRuntime = Xpcom.GetService2 <nsIXULRuntime>(Contracts.XulRuntime); }
static ObserverService() { _observerService = Xpcom.GetService2 <nsIObserverService>(Contracts.ObserverService); }
static ScreenManager() { _screenManager = Xpcom.GetService2 <nsIScreenManager>(Contracts.ScreenManager); }