Beispiel #1
0
 /// <summary>
 /// Creates a new instance of InnerBatchRequestMessageWrapper;
 /// </summary>
 /// <param name="clientRequestMessage">Instance of DataServiceClientRequestMessage that represents this request.</param>
 /// <param name="odataRequestMessage">Instance of IODataRequestMessage created by ODataLib.</param>
 /// <param name="requestInfo">RequestInfo instance.</param>
 /// <param name="descriptor">Descriptor for this request.</param>
 internal InnerBatchRequestMessageWrapper(DataServiceClientRequestMessage clientRequestMessage, IODataRequestMessage odataRequestMessage, RequestInfo requestInfo, Descriptor descriptor)
     : base(clientRequestMessage, requestInfo, descriptor)
 {
     this.innerBatchRequestMessage = odataRequestMessage;
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new instance of InternalODataRequestMessage.
 /// </summary>
 /// <param name="requestMessage">IODataRequestMessage that needs to be wrapped.</param>
 internal RequestMessageWithCachedStream(DataServiceClientRequestMessage requestMessage)
 {
     Debug.Assert(requestMessage != null, "requestMessage != null");
     this.requestMessage = requestMessage;
 }