예제 #1
0
        protected override void Initialize()
        {
            var options = (Options)GetDialogPage(typeof(Options));

            Logger.Initialize(this, Vsix.Name);
            OpenVsCodeCommand.Initialize(this, options);
        }
예제 #2
0
        protected override async System.Threading.Tasks.Task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await JoinableTaskFactory.SwitchToMainThreadAsync();

            var options = (Options)GetDialogPage(typeof(Options));

            Logger.Initialize(this, Vsix.Name);
            OpenVsCodeCommand.Initialize(this, options);
        }
예제 #3
0
        protected override void Initialize()
        {
            Options = (Options)GetDialogPage(typeof(Options));

            Logger.Initialize(this, Vsix.Name);
            Telemetry.Initialize(this, Vsix.Version, "939ca576-9e8b-474a-a9d7-92117432e5d6");

            OpenVsCodeCommand.Initialize(this);

            base.Initialize();
        }
 public static void Initialize(Package package, Options options)
 {
     Instance = new OpenVsCodeCommand(package, options);
 }
예제 #5
0
 public static void Initialize(Package package, Options options)
 {
     Instance = new OpenVsCodeCommand(package, options);
 }
예제 #6
0
 public static void Initialize(Package package)
 {
     Instance = new OpenVsCodeCommand(package);
 }