21 references to WebUtil
System.Data.Services.Client (21)
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (1)
157
Type dscType =
WebUtil
.GetDataServiceCollectionOfT(elementType);
System\Data\Services\Client\ALinq\ResourceBinder.cs (1)
2062
return nex.Type.IsGenericType &&
WebUtil
.IsDataServiceCollectionType(nex.Type.GetGenericTypeDefinition());
System\Data\Services\Client\AtomMaterializer.cs (2)
414
if (type.IsGenericType &&
WebUtil
.IsDataServiceCollectionType(type.GetGenericTypeDefinition()))
778
Type dataServiceCollectionType =
WebUtil
.GetDataServiceCollectionOfT(nestedExpectedType);
System\Data\Services\Client\Binding\BindingEntityInfo.cs (1)
149
Type dataServiceCollection =
WebUtil
.GetDataServiceCollectionOfT(parms);
System\Data\Services\Client\Binding\BindingUtils.cs (1)
45
if (collectionType.IsGenericType &&
WebUtil
.IsDataServiceCollectionType(collectionType.GetGenericTypeDefinition()))
System\Data\Services\Client\DataServiceContext.cs (10)
1663
if (failure == null && !
WebUtil
.SuccessStatusCode(statusCode))
3621
WebUtil
.ApplyHeadersToRequest(args.Headers, request, false);
3868
Debug.Assert(
WebUtil
.GetDataServiceCollectionOfT(nestedType) != null, "DataServiceCollection<> must be available here.");
3872
WebUtil
.GetDataServiceCollectionOfT(nestedType),
4421
WebUtil
.GetHttpWebResponse(e, ref response);
4782
WebUtil
.ApplyHeadersToRequest(box.SaveStream.Args.Headers, mediaResourceRequest, true);
4942
if (
WebUtil
.SuccessStatusCode(response.StatusCode))
4957
if (!
WebUtil
.SuccessStatusCode(response.StatusCode))
5014
if (0 ==
WebUtil
.CopyStream(stream, this.buildBatchWriter.BaseStream, ref this.buildBatchBuffer))
5286
headers =
WebUtil
.WrapResponseHeaders(this.batchResponse);
System\Data\Services\Client\DataServiceStreamResponse.cs (1)
83
this.headers =
WebUtil
.WrapResponseHeaders(this.response);
System\Data\Services\Client\GetReadStreamResult.cs (1)
150
if (!
WebUtil
.SuccessStatusCode(this.response.StatusCode))
System\Data\Services\Client\QueryResult.cs (3)
244
long copied =
WebUtil
.CopyStream(stream, copy, ref buffer);
290
Dictionary<string, string> headers =
WebUtil
.WrapResponseHeaders(this.httpWebResponse);
309
Dictionary<string, string> headers =
WebUtil
.WrapResponseHeaders(this.httpWebResponse);