示例#1
0
 public VsAppShell()
 {
     Debug.Assert(_instance == null, "VsAppShell is a singleton and cannot be created twice");
     _instance = this;
     _services = new VsServiceManager(this);
     ConfigureServices();
 }
示例#2
0
        private void ConfigureServices()
        {
            _services = new VsServiceManager(this);

            _services.AddService(_coreServices);
            _services.AddService(_settings);

            _services.AddService(typeof(MicrosoftRClientInstaller));
            // TODO: add more
        }