8 instantiations of SegmentInfo
System.Data.Services (8)
System\Data\Services\RequestDescription.cs (2)
112
SegmentInfo segment = new
SegmentInfo
();
412
SegmentInfo segmentInfo = new
SegmentInfo
();
System\Data\Services\RequestUriProcessor.cs (4)
469
SegmentInfo segment = new
SegmentInfo
();
715
segment = new
SegmentInfo
(previous);
724
segment = new
SegmentInfo
(previous);
753
segment = new
SegmentInfo
();
System\Data\Services\Serializers\Deserializer.cs (2)
709
SegmentInfo adjustedSegment = new
SegmentInfo
();
850
SegmentInfo result = new
SegmentInfo
();
57 references to SegmentInfo
System.Data.Services (57)
System\Data\Services\DataService.cs (8)
266
SegmentInfo
IDataService.GetSegmentForContentId(string contentId)
1342
SegmentInfo
parentEntitySegment = description.SegmentInfos[parentResourceIndex];
1516
SegmentInfo
parentSegment = description.SegmentInfos[segmentIdx - 1];
1517
SegmentInfo
currentSegment = description.SegmentInfos[segmentIdx];
2105
private readonly Dictionary<string,
SegmentInfo
> contentIdsToSegmentInfoMapping = new Dictionary<string,
SegmentInfo
>(StringComparer.Ordinal);
2255
public
SegmentInfo
GetSegmentForContentId(string contentId)
2259
SegmentInfo
segmentInfo;
System\Data\Services\IDataService.cs (1)
118
SegmentInfo
GetSegmentForContentId(string contentId);
System\Data\Services\RequestDescription.cs (11)
74
private readonly
SegmentInfo
[] segmentInfos;
112
SegmentInfo
segment = new SegmentInfo();
116
this.segmentInfos = new
SegmentInfo
[] { segment };
134
SegmentInfo
[] segmentInfos,
192
SegmentInfo
lastSegmentInfo = other.SegmentInfos[lastSegmentIndex];
219
internal
SegmentInfo
[] SegmentInfos
278
internal
SegmentInfo
LastSegmentInfo
354
internal static IEnumerator GetSingleResultFromEnumerable(
SegmentInfo
segmentInfo)
382
internal static void CheckQueryResult(object result,
SegmentInfo
segmentInfo)
412
SegmentInfo
segmentInfo = new SegmentInfo();
424
SegmentInfo
[] segmentInfos = description.SegmentInfos;
System\Data\Services\RequestUriProcessor.cs (13)
80
SegmentInfo
[] segmentInfos = CreateSegments(segments, service);
81
SegmentInfo
lastSegment = (segmentInfos.Length == 0) ? null : segmentInfos[segmentInfos.Length - 1];
434
private static void ComposeQuery(string filter,
SegmentInfo
segment)
455
/// <summary>Creates the first <see cref="
SegmentInfo
"/> for a request.</summary>
463
private static
SegmentInfo
CreateFirstSegment(IDataService service, string identifier, bool checkRights, string queryPortion, bool isLastSegment, out bool crossReferencingUrl)
469
SegmentInfo
segment = new SegmentInfo();
580
SegmentInfo
newSegmentInfo = service.GetSegmentForContentId(segment.Identifier);
657
/// <summary>Creates a <see cref="
SegmentInfo
"/> array for the given <paramref name="segments"/>.</summary>
661
private static
SegmentInfo
[] CreateSegments(string[] segments, IDataService service)
665
SegmentInfo
previous = null;
666
SegmentInfo
[] segmentInfos = new
SegmentInfo
[segments.Length];
676
SegmentInfo
segment;
System\Data\Services\SegmentInfo.cs (2)
72
/// <param name="other">Another <see cref="
SegmentInfo
"/> to get a shallow copy of.</param>
73
internal SegmentInfo(
SegmentInfo
other)
System\Data\Services\Serializers\Deserializer.cs (10)
538
internal static object GetResource(
SegmentInfo
segmentInfo, string fullTypeName, IDataService service, bool checkForNull)
622
internal static object GetCrossReferencedResource(
SegmentInfo
segmentInfo)
637
internal static bool IsCrossReferencedSegment(
SegmentInfo
segmentInfo, IDataService service)
705
SegmentInfo
segmentInfo = requestDescription.LastSegmentInfo;
709
SegmentInfo
adjustedSegment = new SegmentInfo();
845
/// A new <see cref="
SegmentInfo
"/> instance that describes the specfied <paramref name="property"/>
848
protected static
SegmentInfo
CreateSegment(ResourceProperty property, string propertyName, ResourceSetWrapper propertySet, bool singleResult)
850
SegmentInfo
result = new SegmentInfo();
875
protected abstract object CreateSingleObject(
SegmentInfo
segmentInfo);
940
SegmentInfo
segmentInfo,
System\Data\Services\Serializers\JsonDeserializer.cs (7)
180
protected override object CreateSingleObject(
SegmentInfo
segmentInfo)
262
private static bool HandleTopLevelNonEntityProperty(JsonReader.JsonObjectRecords jsonObject,
SegmentInfo
segment, out object resource)
320
private object CreateObject(object jsonObject,
SegmentInfo
segmentInfo, bool topLevel, out bool existingRelationship)
559
SegmentInfo
segmentInfo = CreateSegment(resourceProperty, resourceProperty.Name, null, true /* singleResult */);
632
SegmentInfo
openPropertySegmentInfo = CreateSegment(null, propertyName, null, true /* singleResult */);
792
SegmentInfo
segmentInfo = CreateSegment(resourceProperty, resourceProperty.Name, propertySet, true /* singleResult */);
810
SegmentInfo
segmentInfo = CreateSegment(resourceProperty, resourceProperty.Name, propertySet, true /* singleResult */);
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
139
protected override object CreateSingleObject(
SegmentInfo
segmentInfo)
System\Data\Services\Serializers\SyndicationDeserializer.cs (4)
85
protected override object CreateSingleObject(
SegmentInfo
segmentInfo)
344
private object CreateObject(
SegmentInfo
segmentInfo, bool topLevel, SyndicationItem item)
643
SegmentInfo
propertySegment = CreateSegment(property, propertyName, targetSet, true /* singleResult */);
659
SegmentInfo
propertySegment = CreateSegment(property, propertyName, targetSet, false /* singleResult */);