5 instantiations of RequestDescription
System.Data.Services (5)
System\Data\Services\RequestDescription.cs (1)
427
RequestDescription resultDescription = new
RequestDescription
(
System\Data\Services\RequestQueryProcessor.cs (1)
1164
return new
RequestDescription
(this.description, this.queryResults, this.rootProjectionNode);
System\Data\Services\RequestUriProcessor.cs (3)
91
resultDescription = new
RequestDescription
(targetKind, RequestTargetSource.None, resultUri);
100
resultDescription = new
RequestDescription
(
147
resultDescription = new
RequestDescription
(
93 references to RequestDescription
System.Data.Services (93)
System\Data\Services\DataService.cs (37)
278
object IDataService.GetResource(
RequestDescription
description, int segmentIndex, string typeFullName)
514
private static void CheckETagValues(DataServiceHostWrapper host,
RequestDescription
description)
662
private static void RaiseResponseVersionForMetadata(
RequestDescription
description, IDataService dataService)
694
private static
RequestDescription
ProcessIncomingRequest(
695
RequestDescription
description,
743
RequestDescription
newDescription = description;
778
Debug.Assert(description.ResponseVersion ==
RequestDescription
.DataServiceDefaultResponseVersion, "description.ResponseVersion == RequestDescription.DataServiceDefaultResponseVersion");
791
Debug.Assert(description.ResponseVersion ==
RequestDescription
.DataServiceDefaultResponseVersion, "description.ResponseVersion == RequestDescription.DataServiceDefaultResponseVersion");
830
private static Action<Stream> SerializeResponseBody(
RequestDescription
description, IDataService dataService)
845
if (!
RequestDescription
.IsETagHeaderAllowed(description))
1027
private static
RequestDescription
HandlePostOperation(
RequestDescription
description, IDataService dataService)
1089
return
RequestDescription
.CreateSingleResultRequestDescription(
1097
private static
RequestDescription
HandlePutOperation(
RequestDescription
description, IDataService dataService)
1118
else if (!
RequestDescription
.IsETagHeaderAllowed(description) && !String.IsNullOrEmpty(host.RequestIfMatch))
1136
private static void HandleDeleteOperation(
RequestDescription
description, IDataService dataService)
1267
private static Action<Stream> HandleInternalResources(
RequestDescription
description, IDataService dataService)
1320
RequestDescription
description,
1343
queryResults =
RequestDescription
.GetSingleResultFromEnumerable(parentEntitySegment);
1356
else if (
RequestDescription
.IsETagHeaderAllowed(description) && description.TargetKind != RequestTargetKind.MediaResource)
1402
queryResults =
RequestDescription
.GetSingleResultFromEnumerable(description.LastSegmentInfo);
1418
private static ContentFormat ResolveUnknownFormat(
RequestDescription
description, object element, IDataService dataService)
1497
RequestDescription
description,
1549
RequestDescription
.CheckQueryResult(resource, description.LastSegmentInfo);
1596
IDataService service,
RequestDescription
description, out ResourceSetWrapper container)
1621
private static void HandleUnbindOperation(
RequestDescription
description, IDataService dataService)
1727
RequestDescription
description = this.ProcessIncomingRequestUri();
1770
private Action<Stream> HandleNonBatchRequest(
RequestDescription
description)
2037
private
RequestDescription
ProcessIncomingRequestUri()
2114
private List<
RequestDescription
> batchRequestDescription = new List<
RequestDescription
>();
2274
public object GetResource(
RequestDescription
description, int segmentIndex, string typeFullName)
2352
RequestDescription
description;
2721
private void UpdateRequestEnumerableForPut(
RequestDescription
requestDescription)
2747
RequestDescription
previousRequest = this.batchRequestDescription[i];
2764
private void WriteRequest(
RequestDescription
description, BatchServiceHost batchHost)
System\Data\Services\DataServiceConfiguration.cs (3)
626
internal static string GetAllowedMethods(DataServiceConfiguration configuration,
RequestDescription
description)
661
internal static string GetAllowedMethods(DataServiceConfiguration configuration, ResourceSetWrapper container,
RequestDescription
description)
846
internal void ValidateMaxProtocolVersion(
RequestDescription
requestDescription)
System\Data\Services\IDataService.cs (1)
127
object GetResource(
RequestDescription
description, int segmentIndex, string typeFullName);
System\Data\Services\RequestDescription.cs (9)
159
RequestDescription
other,
408
internal static
RequestDescription
CreateSingleResultRequestDescription(
409
RequestDescription
description, object entity, ResourceSetWrapper container)
427
RequestDescription
resultDescription = new RequestDescription(
447
internal static bool IsETagHeaderAllowed(
RequestDescription
description)
469
internal
RequestDescription
UpdateAndCheckEpmFeatureVersion(IDataService service)
509
internal
RequestDescription
UpdateAndCheckEpmFeatureVersion(ResourceSetWrapper resourceSet, IDataService service)
528
internal
RequestDescription
UpdateEpmResponseVersion(string acceptTypesText, DataServiceProviderWrapper provider)
538
internal
RequestDescription
UpdateEpmResponseVersion(string acceptTypesText, ResourceSetWrapper resourceSet, DataServiceProviderWrapper provider)
System\Data\Services\RequestQueryProcessor.cs (7)
43
private readonly
RequestDescription
description;
95
private RequestQueryProcessor(IDataService service,
RequestDescription
description)
250
/// <returns>A new <see cref="
RequestDescription
"/>.</returns>
251
internal static
RequestDescription
ProcessQuery(IDataService service,
RequestDescription
description)
1106
/// <returns>A modified <see cref="
RequestDescription
"/> that includes query information.</returns>
1108
private
RequestDescription
ProcessQuery()
System\Data\Services\RequestUriProcessor.cs (3)
68
internal static
RequestDescription
ProcessRequestUri(Uri absoluteRequestUri, IDataService service)
85
RequestDescription
resultDescription;
382
RequestDescription
description = RequestUriProcessor.ProcessRequestUri(absoluteRequestUri, service);
System\Data\Services\ResponseBodyWriter.cs (2)
41
private readonly
RequestDescription
requestDescription;
61
RequestDescription
requestDescription,
System\Data\Services\Serializers\Deserializer.cs (16)
48
private
RequestDescription
description;
119
protected
RequestDescription
RequestDescription
139
internal static Deserializer CreateDeserializer(
RequestDescription
description, IDataService dataService, bool update, UpdateTracker tracker)
231
internal static
RequestDescription
HandlePutRequest(
RequestDescription
description, IDataService dataService, Stream stream)
360
return
RequestDescription
.CreateSingleResultRequestDescription(description, entityGettingModified, container);
371
internal static object GetResourceToModify(
RequestDescription
description, IDataService service, out object entityResource, out ResourceSetWrapper container)
387
RequestDescription
description,
504
internal static void ModifyResource(
RequestDescription
description, object resourceToBeModified, object requestValue, ContentFormat contentFormat, IDataService service)
569
internal static object CreateMediaLinkEntry(string fullTypeName, Stream requestStream, IDataService service,
RequestDescription
description, UpdateTracker tracker)
590
internal static void SetStreamPropertyValue(object resourceToBeModified, Stream requestStream, IDataService service,
RequestDescription
description)
655
internal static object HandleBindOperation(
RequestDescription
description, object linkResource, IDataService service, UpdateTracker tracker)
690
internal object ReadEntity(
RequestDescription
requestDescription)
728
internal object HandlePostRequest(
RequestDescription
requestDescription)
917
RequestDescription
requestDescription = RequestUriProcessor.ProcessRequestUri(referencedUri, this.Service);
1081
private static bool IsQueryRequired(
RequestDescription
requestDescription, object requestValue, DataServiceProviderWrapper provider)
System\Data\Services\Serializers\JsonSerializer.cs (1)
48
RequestDescription
requestDescription,
System\Data\Services\Serializers\PlainXmlSerializer.cs (1)
40
RequestDescription
requestDescription,
System\Data\Services\Serializers\Serializer.cs (5)
58
private readonly
RequestDescription
requestDescription;
85
internal Serializer(
RequestDescription
requestDescription, Uri absoluteServiceUri, IDataService service, string httpETagHeaderValue)
150
protected
RequestDescription
RequestDescription
416
this.RequestDescription.ResponseVersion !=
RequestDescription
.DataServiceDefaultResponseVersion,
425
if (pageSize != 0 && this.RequestDescription.ResponseVersion !=
RequestDescription
.DataServiceDefaultResponseVersion)
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
501
RequestDescription
description = RequestUriProcessor.ProcessRequestUri(referencedUri, this.Service);
System\Data\Services\Serializers\SyndicationSerializer.cs (1)
83
RequestDescription
requestDescription,
System\Data\Services\WebUtil.cs (6)
431
internal static ContentFormat SelectRequestFormat(string contentType,
RequestDescription
description)
1522
internal static void CheckVersion(IDataService service,
RequestDescription
requestDescription)
1540
if (!
RequestDescription
.IsKnownRequestVersion(version.Key))
1590
if (version.Key <
RequestDescription
.DataServiceDefaultResponseVersion)
1594
RequestDescription
.DataServiceDefaultResponseVersion.Major,
1595
RequestDescription
.DataServiceDefaultResponseVersion.Minor);