Esempio n. 1
0
        /// <summary>
        /// Sets the Visual Studio IDE object.
        /// </summary>
        /// <param name="dte">A DTE object exposing the Visual Studio automation object model.</param>
        public void InitializeDTE(DTE dte)
        {
            // Store the dte so that it can be used later.
            this.dte = dte;

            // Get the code model data.
            codeCache = new CodeOutlineCache(control, dte, (LanguageService)GetService(typeof(ILuaLanguageService)));
        }
Esempio n. 2
0
        /// <summary>
        /// Sets the Visual Studio IDE object.
        /// </summary>
        /// <param name="dte">A DTE object exposing the Visual Studio automation object model.</param>
        public void InitializeDTE(DTE dte)
        {
            // Store the dte so that it can be used later.
            this.dte = dte;

            // Get the code model data.
            codeCache = new CodeOutlineCache(control, dte, (LanguageService) GetService(typeof (ILuaLanguageService)));
        }