Пример #1
0
 public static void Initialize(IServiceProvider provider, Options options)
 {
     Instance = new CommandHandler(provider, options);
 }
        public static async task InitializeAsync(AsyncPackage package, Options options)
        {
            DTE2 dte = await package.GetServiceAsync(typeof(DTE)) as DTE2;

            Instance = new CommandHandler(dte, options);
        }