示例#1
0
        protected override async task InitializeAsync(CancellationToken cancellationToken, IProgress <ServiceProgressData> progress)
        {
            await RemoveAllCommentsCommand.InitializeAsync(this);

            await RemoveRegionsCommand.InitializeAsync(this);

            await RemoveXmlDocComments.InitializeAsync(this);

            await RemoveAllExceptXmlDocComments.InitializeAsync(this);

            await RemoveTasksCommand.InitializeAsync(this);

            await RemoveAllExceptTaskComments.InitializeAsync(this);
        }
示例#2
0
        protected override void Initialize()
        {
            DTE = (DTE2)GetService(typeof(DTE));

            Logger.Initialize(this, Vsix.Name);
            Telemetry.Initialize(this, Vsix.Version, "4f961700-5d74-4a99-b346-571e5c82cb9b");

            RemoveAllCommentsCommand.Initialize(this);
            RemoveRegionsCommand.Initialize(this);
            RemoveXmlDocComments.Initialize(this);
            RemoveAllExceptXmlDocComments.Initialize(this);
            RemoveTasksCommand.Initialize(this);
            RemoveAllExceptTaskComments.Initialize(this);

            base.Initialize();
        }