protected override void Initialize() { var options = (Options)GetDialogPage(typeof(Options)); Logger.Initialize(this, Vsix.Name); OpenVsCodeCommand.Initialize(this, options); }
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); }
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); }
public static void Initialize(Package package) { Instance = new OpenVsCodeCommand(package); }