protected static void Read(XmlReader reader, CCAcctInfo aInfo) { string lastName = String.Empty; while (reader.Read()) { if (reader.NodeType == XmlNodeType.Element) { lastName = reader.Name; } if (reader.NodeType == XmlNodeType.Text) { string value = reader.Value.Trim(); switch (lastName) { case "ACCTID": aInfo.ACCTID = value; break; case "ACCTKEY": aInfo.ACCTKEY = value; break; } } if (reader.NodeType == XmlNodeType.EndElement && reader.Name == "CCACCTFROM") { return; } } }
protected static void Read(XmlReader reader, CCAcctInfo aInfo) { string lastName = String.Empty; while (reader.Read()) { if (reader.NodeType == XmlNodeType.Element) { lastName = reader.Name; } if (reader.NodeType == XmlNodeType.Text) { string value = reader.Value.Trim(); switch (lastName) { case "ACCTID": aInfo.ACCTID = value; break; case "ACCTKEY": aInfo.ACCTKEY= value; break; } } if (reader.NodeType == XmlNodeType.EndElement && reader.Name == "CCACCTFROM") { return; } } }
public STMTRS() { this._CCACCTFROM = null; this._BANKACCTFROM = null; }