private ShowSuggestionsCommand(Package package, IVsExtensionRepository repository, IVsExtensionManager manager)
{
_package = package;
_repository = repository;
_manager = manager;
OleMenuCommandService commandService = this.ServiceProvider.GetService(typeof(IMenuCommandService)) as OleMenuCommandService;
if (commandService != null)
{
var menuCommandID = new CommandID(PackageGuids.guidExtensionCmdSet, PackageIds.cmdShowSuggestions);
var button = new OleMenuCommand(async (s, e) => await ShowSuggestions(s, e), menuCommandID);
commandService.AddCommand(button);
}
}