CodeGeneratorPackage.cs 799 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.ComponentModel.Design;
  3. using System.Drawing;
  4. using System.Runtime.InteropServices;
  5. using System.Threading;
  6. using System.Threading.Tasks;
  7. using Community.VisualStudio.Toolkit;
  8. using Microsoft.VisualStudio.Shell;
  9. namespace VberAdmin
  10. {
  11. [PackageRegistration(UseManagedResourcesOnly = true, AllowsBackgroundLoading = true)]
  12. [InstalledProductRegistration(Vsix.Name, Vsix.Description, Vsix.Version)]
  13. [ProvideMenuResource("Menus.ctmenu", 1)]
  14. [Guid(PackageGuids.CodeGeneratorString)]
  15. public sealed class CodeGeneratorPackage : ToolkitPackage
  16. {
  17. protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress<ServiceProgressData> progress)
  18. {
  19. await this.RegisterCommandsAsync();
  20. }
  21. }
  22. }