/// <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);
        }
Пример #2
0
        private ODataCollectionWriter CreateODataCollectionWriterImplementation()
        {
            ODataJsonCollectionWriter writer = new ODataJsonCollectionWriter(this, null, null);

            this.outputInStreamErrorListener = writer;
            return(writer);
        }
Пример #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;
 }