26 references to NameValuePairs
PresentationFramework (26)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
221
string id = locatorPart.
NameValuePairs
[ValueAttributeName];
434
part.
NameValuePairs
.Add(ValueAttributeName, nodeId);
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
193
string pageNumberString = locatorPart.
NameValuePairs
[ValueAttributeName];
339
part.
NameValuePairs
.Add(ValueAttributeName, page.ToString(NumberFormatInfo.InvariantInfo));
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (6)
217
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));
218
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), ",,,");
222
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, fp.Segments.Count.ToString(NumberFormatInfo.InvariantInfo));
245
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), value);
323
string stringCount = locatorPart.
NameValuePairs
["Count"];
520
string segmentValue = locatorPart.
NameValuePairs
[TextSelectionProcessor.SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
src\Framework\MS\Internal\Annotations\Anchoring\LocatorManager.cs (1)
329
if (locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.ContainsKey(TextSelectionProcessor.IncludeOverlaps))
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
179
part.
NameValuePairs
.Add(SegmentAttribute + i.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + endOffset.ToString(NumberFormatInfo.InvariantInfo));
182
part.
NameValuePairs
.Add(CountAttribute, textSegments.Count.ToString(NumberFormatInfo.InvariantInfo));
223
string stringCount = locatorPart.
NameValuePairs
[CountAttribute];
380
string stringCount = locatorPart.
NameValuePairs
[CountAttribute];
461
string segmentString = locatorPart.
NameValuePairs
[SegmentAttribute + segmentNumber.ToString(NumberFormatInfo.InvariantInfo)];
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (3)
162
part.
NameValuePairs
.Add(TextSelectionProcessor.CountAttribute, 1.ToString(NumberFormatInfo.InvariantInfo));
163
part.
NameValuePairs
.Add(TextSelectionProcessor.SegmentAttribute + 0.ToString(NumberFormatInfo.InvariantInfo), startOffset.ToString(NumberFormatInfo.InvariantInfo) + TextSelectionProcessor.Separator[0] + endOffset.ToString(NumberFormatInfo.InvariantInfo));
164
part.
NameValuePairs
.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
391
if (locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.ContainsKey(TextSelectionProcessor.IncludeOverlaps))
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (1)
719
locator.Parts[locator.Parts.Count - 1].
NameValuePairs
.Add(TextSelectionProcessor.IncludeOverlaps, Boolean.TrueString);
src\Framework\System\Windows\Annotations\LocatorPart.cs (3)
112
if (part.
NameValuePairs
.Count != _nameValues.Count)
154
newPart.
NameValuePairs
.Add(k_v.Key, k_v.Value);
408
foreach (KeyValuePair<string, string> k_v in ((ICollection<KeyValuePair<string, string>>)this.
NameValuePairs
))
src\Framework\System\Windows\Annotations\LocatorPartList.cs (2)
204
foreach (KeyValuePair<string, string> pair in part.
NameValuePairs
)
295
part.
NameValuePairs
.Add(name, value);