Ejemplo n.º 1
0
        public static async task Initialize(AsyncPackage package)
        {
            var commandService = await package.GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService;
            var dte = await package.GetServiceAsync(typeof(DTE)) as DTE2;

            Instance = new AddCommand(commandService, dte);
        }
Ejemplo n.º 2
0
 public static void Initialize(Package package)
 {
     Instance = new AddCommand(package);
 }