Inheritance: IFileDialog
コード例 #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));
        }
コード例 #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));
        }
コード例 #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;
        }
コード例 #4
0
ファイル: VsAppShell.cs プロジェクト: jagadeesh1492/RTVS
        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;
        }