| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using EnvDTE;
- using Microsoft.VisualStudio.TemplateWizard;
- namespace UrhoSharpTemplateWizard
- {
- public class ChildWizard : IWizard
- {
- // Retrieve global replacement parameters
- public void RunStarted(object automationObject,
- Dictionary<string, string> replacementsDictionary,
- WizardRunKind runKind, object[] customParams)
- {
- // Add custom parameters.
- replacementsDictionary.Add("$saferootprojectname$", RootWizard.GlobalDictionary["$saferootprojectname$"]);
- }
- public void RunFinished()
- {
- }
- public void BeforeOpeningFile(ProjectItem projectItem)
- {
- }
- public void ProjectFinishedGenerating(Project project)
- {
- }
- public bool ShouldAddProjectItem(string filePath)
- {
- return true;
- }
- public void ProjectItemFinishedGenerating(ProjectItem projectItem)
- {
- }
- }
- }
|