示例#1
0
文件: Variable.cs 项目: ddksaku/rzr
 /// <summary>
 /// Load variable from xml
 /// </summary>
 public void LoadFromXml(VariableXml xml)
 {
     this.Name = xml.Name;
     this.Description = xml.Description;
     this.Type = xml.Type;
     this.Value = xml.Value;
 }
示例#2
0
文件: Variable.cs 项目: ddksaku/rzr
 /// <summary>
 /// Save variable to xml
 /// </summary>
 public VariableXml SaveToFile()
 {
     VariableXml ret = new VariableXml();
     ret.Name = this.Name;
     ret.Description = this.Description;
     ret.Type = this.Type;
     ret.Value = this.Value;
     return ret;
 }
示例#3
0
 public VariableGroupXml()
 {
     Variables = new VariableXml[] {};
 }