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