19 references to MediaResource
System.Data.Services (19)
System\Data\Services\DataService.cs (7)
519
bool allowStrongEtag = description.TargetKind == RequestTargetKind.
MediaResource
;
863
if (description.TargetKind == RequestTargetKind.
MediaResource
)
957
else if (targetKind == RequestTargetKind.
MediaResource
)
1114
if (!String.IsNullOrEmpty(host.RequestIfNoneMatch) && description.TargetKind != RequestTargetKind.
MediaResource
)
1356
else if (RequestDescription.IsETagHeaderAllowed(description) && description.TargetKind != RequestTargetKind.
MediaResource
)
1423
description.TargetKind == RequestTargetKind.
MediaResource
,
1431
bool rawValue = description.TargetKind == RequestTargetKind.OpenPropertyValue || description.TargetKind == RequestTargetKind.
MediaResource
;
System\Data\Services\DataServiceConfiguration.cs (1)
675
if (description.TargetKind != RequestTargetKind.
MediaResource
)
System\Data\Services\RequestUriProcessor.cs (4)
115
targetKind == RequestTargetKind.
MediaResource
,
122
lastSegment.TargetKind != RequestTargetKind.
MediaResource
) ?
694
previous.TargetKind == RequestTargetKind.
MediaResource
)
811
segment.TargetKind = RequestTargetKind.
MediaResource
;
System\Data\Services\ResponseBodyWriter.cs (3)
72
if (this.requestDescription.TargetKind == RequestTargetKind.
MediaResource
)
112
this.requestDescription.TargetKind == RequestTargetKind.
MediaResource
,
117
if (this.requestDescription.TargetKind == RequestTargetKind.
MediaResource
)
System\Data\Services\Serializers\Deserializer.cs (4)
305
else if (description.TargetKind == RequestTargetKind.
MediaResource
)
488
if (checkETag && !Deserializer.IsCrossReferencedSegment(description.SegmentInfos[modifyingResourceIndex], service) && description.TargetKind != RequestTargetKind.
MediaResource
)
512
else if (description.TargetKind == RequestTargetKind.
MediaResource
)
1088
requestDescription.TargetKind == RequestTargetKind.
MediaResource
||