public virtual RFRResponse nextRFRResponse()
{
if (rfrResponseReader.ReadState != ReadState.Closed)
{
string response = rfrResponseReader.ReadOuterXml();
XmlSerializer serializer = new XmlSerializer(typeof(RFRResponse));
StringReader reader = new StringReader(response);
RFRResponse rfrResponse = (RFRResponse)serializer.Deserialize(reader);
if (!rfrResponseReader.ReadToFollowing("RFRResponse"))
{
rfrResponseReader.Close();
}
return rfrResponse;
}
return null;
}