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