Class SequenceWalker
Inheritance
SequenceWalker
Assembly: Platform.Data.Sequences.dll
public static class SequenceWalker
Methods
|
Improve this Doc
View Source
Declaration
public static void WalkLeft<TLinkAddress>(TLinkAddress sequence, Func<TLinkAddress, TLinkAddress> getSource, Func<TLinkAddress, TLinkAddress> getTarget, Func<TLinkAddress, bool> isElement, Action<TLinkAddress> visit)
Parameters
Type |
Name |
Description |
TLinkAddress |
sequence |
|
Func<TLinkAddress, TLinkAddress> |
getSource |
|
Func<TLinkAddress, TLinkAddress> |
getTarget |
|
Func<TLinkAddress, Boolean> |
isElement |
|
Action<TLinkAddress> |
visit |
|
Type Parameters
Name |
Description |
TLinkAddress |
|
|
Improve this Doc
View Source
Declaration
public static void WalkRight<TLinkAddress>(TLinkAddress sequence, Func<TLinkAddress, TLinkAddress> getSource, Func<TLinkAddress, TLinkAddress> getTarget, Func<TLinkAddress, bool> isElement, Action<TLinkAddress> visit)
Parameters
Type |
Name |
Description |
TLinkAddress |
sequence |
|
Func<TLinkAddress, TLinkAddress> |
getSource |
|
Func<TLinkAddress, TLinkAddress> |
getTarget |
|
Func<TLinkAddress, Boolean> |
isElement |
|
Action<TLinkAddress> |
visit |
|
Type Parameters
Name |
Description |
TLinkAddress |
|