43 references to RequestTargetSource
System.Data.Services (43)
System\Data\Services\DataService.cs (13)
744
if (description.TargetSource !=
RequestTargetSource
.ServiceOperation)
890
if (description.TargetSource ==
RequestTargetSource
.ServiceOperation ||
891
description.TargetSource ==
RequestTargetSource
.None ||
896
(String.IsNullOrEmpty(host.RequestIfMatch) && String.IsNullOrEmpty(host.RequestIfNoneMatch)) || description.TargetSource ==
RequestTargetSource
.ServiceOperation,
1030
description.TargetSource !=
RequestTargetSource
.ServiceOperation,
1047
description.TargetSource ==
RequestTargetSource
.EntitySet ||
1073
if (description.TargetSource ==
RequestTargetSource
.Property)
1099
Debug.Assert(description.TargetSource !=
RequestTargetSource
.ServiceOperation, "description.TargetSource != RequestTargetSource.ServiceOperation");
1139
Debug.Assert(description.TargetSource !=
RequestTargetSource
.ServiceOperation, "description.TargetSource != RequestTargetSource.ServiceOperation");
1198
Debug.Assert(description.TargetSource ==
RequestTargetSource
.Property, "description.TargetSource == RequestTargetSource.Property");
1773
bool serviceOperationRequest = (description.TargetSource ==
RequestTargetSource
.ServiceOperation);
2491
serviceOperationRequests &= (description.TargetSource ==
RequestTargetSource
.ServiceOperation);
2502
description.TargetKind == RequestTargetKind.Resource || description.TargetSource ==
RequestTargetSource
.ServiceOperation,
System\Data\Services\RequestDescription.cs (3)
106
internal RequestDescription(RequestTargetKind targetKind,
RequestTargetSource
targetSource, Uri resultUri)
257
internal
RequestTargetSource
TargetSource
345
return this.TargetSource ==
RequestTargetSource
.ServiceOperation && this.SegmentInfos[0].Operation.ResultKind == ServiceOperationResultKind.Enumeration;
System\Data\Services\RequestQueryProcessor.cs (2)
122
(service.OperationContext.Host.AstoriaHttpVerb == AstoriaVerbs.GET || description.SegmentInfos[0].TargetSource ==
RequestTargetSource
.ServiceOperation);
259
description.SegmentInfos[0].TargetSource !=
RequestTargetSource
.ServiceOperation)
System\Data\Services\RequestUriProcessor.cs (12)
91
resultDescription = new RequestDescription(targetKind,
RequestTargetSource
.None, resultUri);
96
Debug.Assert(lastSegment.TargetSource ==
RequestTargetSource
.ServiceOperation, "targetSource == RequestTargetSource.ServiceOperation");
102
RequestTargetSource
.ServiceOperation, // targetSource
117
RequestTargetSource
targetSource = lastSegment.TargetSource;
126
(targetSource ==
RequestTargetSource
.Property &&
129
(targetSource ==
RequestTargetSource
.ServiceOperation &&
132
(targetSource ==
RequestTargetSource
.Property && projectedProperty != null) ? projectedProperty.MimeType :
133
(targetSource ==
RequestTargetSource
.ServiceOperation) ? lastSegment.Operation.MimeType :
387
if (description.TargetKind != RequestTargetKind.Resource || !description.IsSingleResult || description.TargetSource !=
RequestTargetSource
.EntitySet)
498
segment.TargetSource =
RequestTargetSource
.ServiceOperation;
604
segment.TargetSource =
RequestTargetSource
.EntitySet;
755
segment.TargetSource =
RequestTargetSource
.Property;
System\Data\Services\SegmentInfo.cs (2)
53
private
RequestTargetSource
targetSource;
139
internal
RequestTargetSource
TargetSource
System\Data\Services\Serializers\Deserializer.cs (4)
332
description.TargetSource ==
RequestTargetSource
.EntitySet)
749
if (requestDescription.TargetSource ==
RequestTargetSource
.Property)
756
Debug.Assert(requestDescription.TargetSource ==
RequestTargetSource
.EntitySet, "Expecting POST on entity set");
851
result.TargetSource =
RequestTargetSource
.Property;
System\Data\Services\Serializers\JsonDeserializer.cs (1)
454
if (segmentInfo.TargetSource ==
RequestTargetSource
.Property && jsonObjectRecord.Count == 1)
System\Data\Services\Serializers\Serializer.cs (1)
845
if (this.RequestDescription.SegmentInfos[0].TargetSource ==
RequestTargetSource
.ServiceOperation)
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
676
propertySegment.TargetSource ==
RequestTargetSource
.Property &&
System\Data\Services\Serializers\SyndicationSerializer.cs (4)
167
if (this.RequestDescription.TargetSource ==
RequestTargetSource
.EntitySet ||
168
this.RequestDescription.TargetSource ==
RequestTargetSource
.ServiceOperation)
183
this.RequestDescription.TargetSource ==
RequestTargetSource
.Property,
233
this.RequestDescription.TargetSource ==
RequestTargetSource
.Property)