Class IteratorHelper
Helper functions for iterators
Inheritance
IteratorHelper
Assembly: CAMIPC.DotnetHelper.dll
Syntax
public static class IteratorHelper
Methods
List all nodes in iterator, depth first
Declaration
public static IEnumerable<TNode> AsComEnumerable<TIter, TNode>(this ComWrapper<TIter> iter, Func<TIter, TNode?> current, Func<TIter, bool> moveToSibling, Func<TIter, bool>? moveToChild, Func<TIter, bool>? moveToParent, Action<TIter>? reset) where TIter : class where TNode : IDisposable
Parameters
Returns
Type Parameters
| Name |
Description |
| TIter |
|
| TNode |
|