private Parts.Variable ParseVariableNode(XmlNode xNode) { var variable = new Parts.Variable(); variable.language = (Parts.Variable.Language) Enum.Parse(typeof(Parts.Variable.Language), xNode.Attributes["language"].Value.ToUpper()); variable.name = xNode.Attributes["name"].Value; variable.value = xNode.Attributes["value"].Value; return(variable); }
private Parts.Variable ParseVariableNode(XmlNode xNode) { var variable = new Parts.Variable(); variable.language = (Parts.Variable.Language) Enum.Parse(typeof(Parts.Variable.Language), xNode.Attributes["language"].Value.ToUpper()); variable.name = xNode.Attributes["name"].Value; variable.value = xNode.Attributes["value"].Value; return variable; }