public VsAppShell(ITelemetryService telemetryService) { _appConstants = new ApplicationConstants(); ProgressDialog = new VsProgressDialog(this); FileDialog = new VsFileDialog(this); _coreServices = new CoreServices(_appConstants, telemetryService, new VsTaskService(), this, new SecurityService(this)); }
public VsAppShell(ITelemetryService telemetryService) { _appConstants = new ApplicationConstants(); ProgressDialog = new VsProgressDialog(this); FileDialog = new VsFileDialog(this); var loggingPermissions = new LoggingPermissions(_appConstants, telemetryService, new RegistryImpl()); _coreServices = new CoreServices(_appConstants, telemetryService, new VsTaskService(), new ProcessServices(), loggingPermissions, this, new SecurityService(this)); }
public VsUIServices(ICoreShell coreShell) { ProgressDialog = new VsProgressDialog(coreShell.Services); FileDialog = new VsFileDialog(coreShell); _coreShell = coreShell; _vsShell = VsPackage.GetGlobalService(typeof(SVsShell)) as IVsShell; _vsShell.AdviseBroadcastMessages(this, out _vsShellBroadcastEventsCookie); _uiShell = VsPackage.GetGlobalService(typeof(SVsUIShell)) as IVsUIShell; }
public VsAppShell(ITelemetryService telemetryService , IRSettings settings , ICoreServices coreServices , IApplicationConstants appConstants) { _coreServices = coreServices; AppConstants = appConstants; ProgressDialog = new VsProgressDialog(this); FileDialog = new VsFileDialog(this); _settings = settings; _settings.PropertyChanged += OnSettingsChanged; }