/// <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; }
/// <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; }
public VariableGroupXml() { Variables = new VariableXml[] {}; }