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; }
private Node CreateNode(XmlNode element) { Node node = new Node(); FillNode(node, element); return node; }