1 write to items
System.ServiceModel (1)
System\UriTemplateTrieNode.cs (1)
676
this.
items
= new SortedList<UriTemplateCompoundPathSegment, Collection<AscendingSortedCompoundSegmentsCollection<T>.CollectionItem>>();
19 references to items
System.ServiceModel (19)
System\UriTemplateTrieNode.cs (19)
683
IList<IList<T>> results = new List<IList<T>>(this.
items
.Count);
684
for (int i = 0; i < this.
items
.Values.Count; i++)
686
results.Add(new List<T>(this.
items
.Values[i].Count));
688
for (int j = 0; j < this.
items
.Values[i].Count; j++)
690
results[i].Add(this.
items
.Values[i][j].Value);
693
Fx.Assert(results[i].Count == this.
items
.Values[i].Count, "We were supposed to add an item for each value in the collection");
695
Fx.Assert(results.Count == this.
items
.Values.Count, "We were supposed to add a sub-list for each values collection");
702
int index = this.
items
.IndexOfKey(segment);
707
this.
items
.Add(segment, subItems);
711
Collection<CollectionItem> subItems = this.
items
.Values[index];
718
int index = this.
items
.IndexOfKey(segment);
723
Collection<CollectionItem> subItems = this.
items
.Values[index];
736
for (int i = 0; i < this.
items
.Values.Count; i++)
739
for (int j = 0; j < this.
items
.Values[i].Count; j++)
741
if (this.
items
.Values[i][j].Segment.IsMatch(wireData))
747
sameOrderResults.Add(this.
items
.Values[i][j].Value);
760
if (this.
items
.Values.Count > 0)
762
Fx.Assert(this.
items
.Values[0].Count > 0, "We are not adding a sub-list unless there is at list one item");
763
return this.
items
.Values[0][0].Value;