Litle.Sdk.batchResponse.nextUpdatePlanResponse C# (CSharp) Method

nextUpdatePlanResponse() public method

public nextUpdatePlanResponse ( ) : updatePlanResponse
return updatePlanResponse
        public virtual updatePlanResponse nextUpdatePlanResponse()
        {
            if (updatePlanResponseReader.ReadState != ReadState.Closed)
            {
                string response = updatePlanResponseReader.ReadOuterXml();
                XmlSerializer serializer = new XmlSerializer(typeof(updatePlanResponse));
                StringReader reader = new StringReader(response);
                updatePlanResponse i = (updatePlanResponse)serializer.Deserialize(reader);

                if (!updatePlanResponseReader.ReadToFollowing("updatePlanResponse"))
                {
                    updatePlanResponseReader.Close();
                }

                return i;
            }

            return null;
        }
batchResponse