3 types derived from Deserializer
System.Data.Services (3)
System\Data\Services\Serializers\JsonDeserializer.cs (1)
30
internal class JsonDeserializer :
Deserializer
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
24
internal class PlainXmlDeserializer :
Deserializer
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
31
internal class SyndicationDeserializer :
Deserializer
43 references to Deserializer
System.Data.Services (43)
System\Data\Services\DataService.cs (18)
281
return
Deserializer
.GetResource(description.SegmentInfos[segmentIndex], typeFullName, ((IDataService)this), false /*checkForNull*/);
1072
entity =
Deserializer
.CreateMediaLinkEntry(targetResourceType.FullName, requestStream, dataService, description, tracker);
1076
Deserializer
.HandleBindOperation(description, entity, dataService, tracker);
1081
using (
Deserializer
deserializer =
Deserializer
.CreateDeserializer(description, dataService, false /*update*/, tracker))
1130
return
Deserializer
.HandlePutRequest(description, dataService, requestStream);
1170
object entity =
Deserializer
.GetResource(description.LastSegmentInfo, null, dataService, true /*checkForNull*/);
1220
object resource =
Deserializer
.GetResourceToModify(description, dataService, false /*allowCrossReference*/, out securityResource, out container, true /*checkETag*/);
1225
Deserializer
.ModifyResource(description, resource, null, ContentFormat.Text, dataService);
1244
object resource =
Deserializer
.GetResourceToModify(description, dataService, false /*allowCrossReference*/, out securityResource, out container, true /*checkETag*/);
1249
Deserializer
.ModifyResource(description, resource, null, ContentFormat.Text, dataService);
1633
Deserializer
.GetResourceToModify(description, dataService, out parentEntity, out parentEntityResourceSet);
1643
object childEntity =
Deserializer
.GetResource(description.LastSegmentInfo, null, dataService, true /*checkForNull*/);
2276
if (
Deserializer
.IsCrossReferencedSegment(description.SegmentInfos[0], this))
2281
object resource =
Deserializer
.GetCrossReferencedResource(description.SegmentInfos[0]);
2297
return
Deserializer
.GetCrossReferencedResource(description.SegmentInfos[segmentIndex]);
2301
return
Deserializer
.GetResource(description.SegmentInfos[segmentIndex], typeFullName, this, false /*checkForNull*/);
2751
object resource =
Deserializer
.GetCrossReferencedResource(requestDescription.LastSegmentInfo);
System\Data\Services\Serializers\Deserializer.cs (19)
50
/// <summary>Initializes a new <see cref="
Deserializer
"/> for the specified stream.</summary>
63
/// <summary>Initializes a new <see cref="
Deserializer
"/> based on a different one.</summary>
65
internal Deserializer(
Deserializer
parent)
132
/// Creates a new <see cref="
Deserializer
"/> for the specified stream.
138
/// <returns>A new instance of <see cref="
Deserializer
"/>.</returns>
139
internal static
Deserializer
CreateDeserializer(RequestDescription description, IDataService dataService, bool update, UpdateTracker tracker)
149
Deserializer
deserializer = null;
284
string propertyValue =
Deserializer
.ReadStringFromStream(requestReader);
313
using (
Deserializer
deserializer =
Deserializer
.CreateDeserializer(description, dataService, true /*update*/, tracker))
323
entityGettingModified =
Deserializer
.HandleBindOperation(description, linkResource, deserializer.Service, deserializer.Tracker);
349
Deserializer
.ModifyResource(description, resourceToModify, requestValue, requestFormat, dataService);
488
if (checkETag && !
Deserializer
.IsCrossReferencedSegment(description.SegmentInfos[modifyingResourceIndex], service) && description.TargetKind != RequestTargetKind.MediaResource)
665
object resourceToBeModified =
Deserializer
.GetResourceToModify(description, service, true /*allowCrossReference*/, out entityGettingModified, out container, false /*checkETag*/);
739
Deserializer
.HandleBindOperation(requestDescription, resourceInPayload, this.Service, this.Tracker);
752
Deserializer
.HandleBindOperation(requestDescription, resourceInPayload, this.Service, this.Tracker);
953
if (
Deserializer
.IsCrossReferencedSegment(segmentInfo, this.service))
955
resourceCookie =
Deserializer
.GetCrossReferencedResource(segmentInfo);
959
resourceCookie =
Deserializer
.GetResource(
System\Data\Services\Serializers\JsonDeserializer.cs (1)
779
Deserializer
.CheckForBindingInPutOperations(this.Service.OperationContext.Host.AstoriaHttpVerb);
System\Data\Services\Serializers\PlainXmlDeserializer.cs (4)
56
internal PlainXmlDeserializer(XmlReader reader,
Deserializer
deserializer, EpmContentDeSerializer.EpmAppliedPropertyInfo propertiesApplied)
88
internal static void ApplyContent(
Deserializer
deserializer, XmlReader reader, ResourceType resourceType, object resource, EpmContentDeSerializer.EpmAppliedPropertyInfo propertiesApplied, int currentObjectCount)
454
Deserializer
.SetOpenPropertyValue(resource, propertyName, propertyValue, this.Service);
458
Deserializer
.SetPropertyValue(property, resource, propertyValue, this.ContentFormat, this.Service);
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
440
Deserializer
.CheckForBindingInPutOperations(host.AstoriaHttpVerb);