SymbolIterator<T>(IEnumerable<T>, Boolean, SymbolIterationMask, Func<T, Boolean>, Func<T, Boolean>) Constructor

Initializes a new instance of the SymbolIterator<T> class.


Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public SymbolIterator(
IEnumerable<T> symbols,
bool recurse,
SymbolIterationMask mask,
Func<T, bool>? selector,
Func<T, bool>? areChildsIterated
)

Parameters

symbols  IEnumerable<T>

Input collection (root objects).

recurse  Boolean

if set to true, the iterator works recursively over all subsymbols.

mask  SymbolIterationMask

Specifies a mask over the symbols, that filters out specific symbol categories. The default is All and all symbols are shown.

selector  Func<T, Boolean>

Predicate function indicating that symbols are visible for the iteration. The default value null returns all symbols (of the specified mask).

areChildsIterated  Func<T, Boolean>

Predicate function indicating that childs of the actual symbol should be iterated (in recurse mode). The default value iterates all child (of the specified mask).

See Also

Reference

SymbolIterator<T> Class SymbolIterator<T> Overload TwinCAT.TypeSystem Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026