Ejemplo n.º 1
0
        protected override async System.Threading.Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await ClearCache.InitializeAsync(this);

            await ShowErrors.InitializeAsync(this);
        }
Ejemplo n.º 2
0
        public static async System.Threading.Tasks.Task InitializeAsync(AsyncPackage package)
        {
            var commandService = await package.GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService;

            Instance = new ShowErrors(commandService, package);
        }