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