Litle.Sdk.litleResponse.nextBatchResponse C# (CSharp) Method

nextBatchResponse() public method

public nextBatchResponse ( ) : batchResponse
return batchResponse
        public virtual batchResponse nextBatchResponse()
        {
            if (batchResponseReader.ReadState != ReadState.Closed)
            {
                batchResponse litleBatchResponse = new batchResponse(batchResponseReader, filePath);
                if (!batchResponseReader.ReadToFollowing("batchResponse"))
                {
                    batchResponseReader.Close();
                }

                return litleBatchResponse;
            }

            return null;
        }