SymbolIterator.T. Constructor (IEnumerable.T., Boolean, Func.T, Boolean.)

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

Namespace:  TwinCAT.TypeSystem.Generic
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 6.0.328+39e3229

Syntax

C#

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

Parameters

symbols

Type: System.Collections.Generic.IEnumerable.T.
Input collection (root objects).

recurse

Type: System.Boolean
if set to true, the iterator works recursively over all subsymbols.

selector

Type: System.Func.T, Boolean.
Predicate function indicating that symbols are visible for the iteration. The default value null returns all symbols (of the specified mask).

Reference

SymbolIterator.T. Class

SymbolIterator.T. Overload

TwinCAT.TypeSystem.Generic Namespace