示例#1
0
        internal static BatchServiceHost CreateBatchServiceHostForError(ODataBatchWriter writer)
        {
            BatchServiceHost host = new BatchServiceHost(writer)
            {
                queryParameters = new NameValueCollection()
            };

            return(host);
        }
示例#2
0
 internal static BatchServiceHost CreateBatchServiceHostForError(ODataBatchWriter writer)
 {
     BatchServiceHost host = new BatchServiceHost(writer) { queryParameters = new NameValueCollection() };
     return host;
 }