protected override void Initialize()
        {
            DTE dte         = (DTE)base.GetService(typeof(DTE));
            var textManager = (IVsTextManager)base.GetService(typeof(SVsTextManager));

            CollapseLevel.Initialize(this, textManager);
            base.Initialize();
        }
Example #2
0
 protected override void Initialize()
 {
     CollapseLevel.Initialize(this);
     base.Initialize();
 }
 /// <summary>
 /// Initializes the singleton instance of the command.
 /// </summary>
 /// <param name="package">Owner package, not null.</param>
 public static void Initialize(Package package, IVsTextManager textManager)
 {
     Instance = new CollapseLevel(package, textManager);
 }
 /// <summary>
 /// Initializes the singleton instance of the command.
 /// </summary>
 /// <param name="package">Owner package, not null.</param>
 public static void Initialize(Package package)
 {
     Instance = new CollapseLevel(package);
 }