/// <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))); }
/// <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))); }