private Dictionary<string, object> GetVariables(Process process, Node node) { Dictionary<string, object> vars = new Dictionary<string, object>(); vars.Add("process", process); vars.Add("node", node); vars.Add("base", GetParam("BaseClass","BusinessNode")); vars.Add("namespace", GetParam("Namespace", "Frontend")); vars.Add("switchBased", GetParam("SwitchBased", "false")); vars.Add("author", Project.Parameters["Author"]); return vars; }
protected string GetProcessDir( Process process ) { string dir = "."; if( pluginParameters != null && pluginParameters.ContainsKey( "OutputDir" ) ) { dir = pluginParameters["OutputDir"]; } string output = Project.OutputPath; if( dir != "." ) { output = Path.Combine( output, dir ); } return Path.Combine( output, process.Name ); }