protected override async System.Threading.Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress) { await ClearCache.InitializeAsync(this); await ShowErrors.InitializeAsync(this); }
public static async System.Threading.Tasks.Task InitializeAsync(AsyncPackage package) { var commandService = await package.GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService; Instance = new ShowErrors(commandService, package); }