示例#1
0
        protected override void Initialize()
        {
            Settings = (Settings)GetDialogPage(typeof(Settings));

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

            Settings = (Settings)GetDialogPage(typeof(Settings));

            Logger.Initialize(this, Vsix.Name);
            OpenSublimeTextCommand.Initialize(this);
        }
示例#3
0
        protected override void Initialize()
        {
            Settings = (Settings)GetDialogPage(typeof(Settings));

            Logger.Initialize(this, Vsix.Name);
            Telemetry.Initialize(this, Vsix.Version, "7f5bc7fb-da06-481e-b66d-40088746d163");
            OpenSublimeTextCommand.Initialize(this);

            base.Initialize();
        }
示例#4
0
 public static void Initialize(Package package)
 {
     Instance = new OpenSublimeTextCommand(package);
 }
 public static void Initialize(Package package)
 {
     Instance = new OpenSublimeTextCommand(package);
 }