/// <summary>
        /// Creates an <see cref="ODataWriter" /> to write an entry.
        /// </summary>
        /// <returns>The created writer.</returns>
        private ODataWriter CreateODataEntryWriterImplementation()
        {
            ODataJsonWriter odataJsonWriter = new ODataJsonWriter(this, false);

            this.outputInStreamErrorListener = odataJsonWriter;
            return(odataJsonWriter);
        }
Exemplo n.º 2
0
        private ODataWriter CreateODataFeedWriterImplementation()
        {
            ODataJsonWriter writer = new ODataJsonWriter(this, true);

            this.outputInStreamErrorListener = writer;
            return(writer);
        }
Exemplo n.º 3
0
 private ODataWriter CreateODataEntryWriterImplementation()
 {
     ODataJsonWriter writer = new ODataJsonWriter(this, false);
     this.outputInStreamErrorListener = writer;
     return writer;
 }
 /// <summary>
 /// Creates an <see cref="ODataWriter" /> to write a feed.
 /// </summary>
 /// <returns>The created writer.</returns>
 private ODataWriter CreateODataFeedWriterImplementation()
 {
     ODataJsonWriter odataJsonWriter = new ODataJsonWriter(this, true);
     this.outputInStreamErrorListener = odataJsonWriter;
     return odataJsonWriter;
 }