Class KeyValueTrailVisitor<TKey, TValue>
A visitor that tracks (stores) keys from KeyValuePairs in the order they were visited.
Inheritance
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Diagrams.Core.dll
Syntax
public sealed class KeyValueTrailVisitor<TKey, TValue> : Object, IVisitor<KeyValuePair<TKey, TValue>>
Type Parameters
TKey
The type of key of the KeyValuePair. |
TValue
The type of value of the KeyValuePair. |
Constructors
KeyValueTrailVisitor()
Declaration
public KeyValueTrailVisitor()
Properties
HasCompleted
Gets a value indicating whether this instance has completed.
Declaration
public bool HasCompleted { get; }
Property Value
System.Boolean
|
Implements
Keys
Gets the trail of the keys.
Declaration
public IList<TKey> Keys { get; }
Property Value
System.Collections.Generic.IList<TKey>
The keys list. |
Values
Gets the trail of the values.
Declaration
public IList<TValue> Values { get; }
Property Value
System.Collections.Generic.IList<TValue>
The value list. |
Methods
Visit(KeyValuePair<TKey, TValue>)
Visits the specified key pair.
Declaration
public void Visit(KeyValuePair<TKey, TValue> obj)
Parameters
System.Collections.Generic.KeyValuePair<TKey, TValue>
obj
The object. |