Exemplo n.º 1
0
        protected override async Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await base.InitializeAsync(cancellationToken, progress);

            await ViewStartPagePlus.InstantiateAsync(this);

            await StartPagePlusOptions.InstantiateAsync(this);

            //await JoinableTaskFactory.SwitchToMainThreadAsync(cancellationToken);
        }
Exemplo n.º 2
0
        protected override async Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await base.InitializeAsync(cancellationToken, progress);

            await ViewStartPagePlus.InstantiateAsync(this);

            await StartPagePlusOptions.InstantiateAsync(this);

            this.SolutionEvents          = Dte.Events.SolutionEvents;
            SolutionEvents.Opened       += OnSolutionOpened;
            SolutionEvents.AfterClosing += SolutionEventsOnAfterClosing;
        }