/// <summary>
        /// Creates an <see cref="ODataCollectionWriter" /> to write a collection of primitive or complex values (as result of a service operation invocation).
        /// </summary>
        /// <returns>The created collection writer.</returns>
        private ODataCollectionWriter CreateODataCollectionWriterImplementation()
        {
            ODataJsonCollectionWriter jsonCollectionWriter = new ODataJsonCollectionWriter(this, /*expectedItemType*/ null, /*listener*/ null);

            this.outputInStreamErrorListener = jsonCollectionWriter;
            return(jsonCollectionWriter);
        }
Ejemplo n.º 2
0
        private ODataCollectionWriter CreateODataCollectionWriterImplementation()
        {
            ODataJsonCollectionWriter writer = new ODataJsonCollectionWriter(this, null, null);

            this.outputInStreamErrorListener = writer;
            return(writer);
        }
Ejemplo n.º 3
0
 private ODataCollectionWriter CreateODataCollectionWriterImplementation()
 {
     ODataJsonCollectionWriter writer = new ODataJsonCollectionWriter(this, null, null);
     this.outputInStreamErrorListener = writer;
     return writer;
 }
 /// <summary>
 /// Creates an <see cref="ODataCollectionWriter" /> to write a collection of primitive or complex values (as result of a service operation invocation).
 /// </summary>
 /// <returns>The created collection writer.</returns>
 private ODataCollectionWriter CreateODataCollectionWriterImplementation()
 {
     ODataJsonCollectionWriter jsonCollectionWriter = new ODataJsonCollectionWriter(this, /*expectedItemType*/ null, /*listener*/ null);
     this.outputInStreamErrorListener = jsonCollectionWriter;
     return jsonCollectionWriter;
 }