public void LoadFromXml(BetTreeNodeBetXml xml) { if (xml != null) { this.BetType = xml.BetType; this.BetAmount = xml.BetAmount; } }
public BetTreeNodeBetXml SaveToXml() { BetTreeNodeBetXml ret = new BetTreeNodeBetXml(); ret.BetType = this.BetType; ret.BetAmount = this.BetAmount; return ret; }