Inheritance: IFileDialog
Exemple #1
0
        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));
        }
Exemple #2
0
        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));
        }
Exemple #3
0
        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;
        }
Exemple #4
0
        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;
        }