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