Exemple #1
0
 EnvDTE.wizardResult EnvDTE._DTE.LaunchWizard(string VSZFile, ref object[] ContextParams)
 {
     if (this.replacementDictionary == null && UnfoldTemplate.UnfoldingTemplates.Count > 0)
     {
         UnfoldTemplate unfoldTemplate = (UnfoldTemplate)UnfoldTemplate.UnfoldingTemplates.Peek();
         this.replacementDictionary = unfoldTemplate.ReplacementDictionary;
     }
     for (int i = 0; i < ContextParams.Length; i++)
     {
         if (ContextParams[i] is string)
         {
             ContextParams[i] = DteHelper.ReplaceParameters(ContextParams[i] as string, this.replacementDictionary);
         }
     }
     return(dte.LaunchWizard(VSZFile, ref ContextParams));
 }