コード例 #1
0
 private void WriteEndBatchImplementation()
 {
     this.WritePendingMessageData(true);
     this.SetState(BatchWriterState.BatchCompleted);
     ODataBatchWriterUtils.WriteEndBoundary(this.rawOutputContext.TextWriter, this.batchBoundary, !this.batchStartBoundaryWritten);
     this.rawOutputContext.TextWriter.WriteLine();
 }
コード例 #2
0
        private void WriteEndChangesetImplementation()
        {
            this.WritePendingMessageData(true);
            string changeSetBoundary = this.changeSetBoundary;

            this.SetState(BatchWriterState.ChangeSetCompleted);
            ODataBatchWriterUtils.WriteEndBoundary(this.rawOutputContext.TextWriter, changeSetBoundary, !this.changesetStartBoundaryWritten);
            this.urlResolver.Reset();
            this.currentOperationContentId = null;
        }