Beispiel #1
0
 private void OnWebViewInitialised(object sender, IsBrowserInitializedChangedEventArgs e)
 {
     if (HostConfigurationProvider.GetInstance().GetConfiguration().DebugModeEnabled)
     {
         WebView.ShowDevTools();
     }
 }
Beispiel #2
0
        public PackageManager()
        {
            Configuration = HostConfigurationProvider.GetInstance().GetConfiguration();

            // Init package sources
            GlobalPackages = new PackagesRepository(Configuration.GlobalPackagesLocation);
            LocalPackages  = new PackagesRepository(Configuration.LocalPackagesLocation);
            SystemPackages = new PackagesRepository(Configuration.SystemPackagesLocation);
        }
Beispiel #3
0
 public PackageScanner()
 {
     Configuration = HostConfigurationProvider.GetInstance().GetConfiguration();
 }
Beispiel #4
0
 public TextLogWriter()
 {
     FileName = HostConfigurationProvider.GetInstance().GetConfiguration().LogFile;
 }