2 implementations of StreamProvider
System.Data.Services (2)
System\Data\Services\DataService.cs (2)
160
DataServiceStreamProviderWrapper IDataService.
StreamProvider
2180
public DataServiceStreamProviderWrapper
StreamProvider
10 references to StreamProvider
System.Data.Services (10)
System\Data\Services\DataService.cs (4)
865
etag = dataService.
StreamProvider
.GetStreamETag(actualEntity, dataService.OperationContext);
1013
string contentType = service.
StreamProvider
.GetStreamContentType(mediaLinkEntry, service.OperationContext);
1061
targetResourceType = dataService.
StreamProvider
.ResolveType(targetResourceSet.Name, dataService);
1191
dataService.
StreamProvider
.DeleteStream(actualEntity, dataService.OperationContext);
System\Data\Services\ResponseBodyWriter.cs (2)
75
this.mediaResourceStream = service.
StreamProvider
.GetReadStream(this.queryResults.Current, this.service.OperationContext);
121
binarySerializer.WriteRequest(this.mediaResourceStream, this.service.
StreamProvider
.StreamBufferSize);
System\Data\Services\Serializers\Deserializer.cs (2)
611
using (Stream writeStream = service.
StreamProvider
.GetWriteStream(resourceToBeModified, service.OperationContext))
613
WebUtil.CopyStream(requestStream, writeStream, service.
StreamProvider
.StreamBufferSize);
System\Data\Services\Serializers\JsonSerializer.cs (1)
423
this.Service.
StreamProvider
.GetStreamDescription(resource, this.Service.OperationContext, uriPath.AbsoluteUri, out mediaETag, out readStreamUri, out mediaContentType);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
501
this.Service.
StreamProvider
.GetStreamDescription(element, this.Service.OperationContext, relativeUri, out mediaETag, out readStreamUri, out mediaContentType);