Example #1
0
        protected override void Initialize()
        {
            base.Initialize();

            // register the language service
            _languageInfo = new GoLanguageInfo(this.AsVsServiceProvider());
            ((IServiceContainer)this).AddService(typeof(GoLanguageInfo), _languageInfo, true);
        }
        protected override void Initialize()
        {
            base.Initialize();

            // register the language service
            _languageInfo = new GoLanguageInfo(this.AsVsServiceProvider());
            ((IServiceContainer)this).AddService(typeof(GoLanguageInfo), _languageInfo, true);
        }
Example #3
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_languageInfo != null)
                {
                    _languageInfo.Dispose();
                    _languageInfo = null;
                }
            }

            base.Dispose(disposing);
        }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_languageInfo != null)
                {
                    _languageInfo.Dispose();
                    _languageInfo = null;
                }
            }

            base.Dispose(disposing);
        }