예제 #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[] {};
 }