System\Data\Services\Serializers\SyndicationSerializer.cs (23)
160Debug.Assert(this.RequestDescription.IsSingleResult, "this.RequestDescription.SingleResult");
167if (this.RequestDescription.TargetSource == RequestTargetSource.EntitySet ||
168this.RequestDescription.TargetSource == RequestTargetSource.ServiceOperation)
174this.RequestDescription.TargetResourceType,
175this.RequestDescription.ResultUri,
176this.RequestDescription.ContainerName,
183this.RequestDescription.TargetSource == RequestTargetSource.Property,
184"TargetSource(" + this.RequestDescription.TargetSource + ") == Property -- otherwise control shouldn't be here.");
186if (this.RequestDescription.TargetKind == RequestTargetKind.OpenProperty)
197Debug.Assert(this.RequestDescription.Property != null, "this.RequestDescription.Property - otherwise Property source set with no Property specified.");
198ResourceProperty property = this.RequestDescription.Property;
211this.RequestDescription.ResultUri, // absoluteUri
212this.RequestDescription.ContainerName, // relativeUri
229Debug.Assert(!this.RequestDescription.IsSingleResult, "!this.RequestDescription.SingleResult");
232if (this.RequestDescription.TargetKind != RequestTargetKind.OpenProperty &&
233this.RequestDescription.TargetSource == RequestTargetSource.Property)
235title = this.RequestDescription.Property.Name;
239title = this.RequestDescription.ContainerName;
245string relativeUri = this.RequestDescription.LastSegmentInfo.Identifier;
248if (this.RequestDescription.CountOption == RequestQueryCountOption.Inline)
258this.RequestDescription.TargetResourceType,
260this.RequestDescription.ResultUri, // absoluteUri
279RequestDescription.CountValue);