Passa al contenuto principale

Class DictionaryScanner

Namespace: TecnoPack.TranslationsManager.Nodes
Assembly: CO0002_Templ_FlowpackHMI_V00_26_M.dll

Scans FTOptix node trees and extracts all translation dictionaries.

public sealed class DictionaryScanner

Inheritance

object ← DictionaryScanner

Remarks

A translation dictionary is any whose value is a string[,]. The scanner returns a mapping between the full path (relative to the logic's Owner node) and the extracted dictionary.

Constructors

DictionaryScanner(IUANode)

Initializes a new instance of the class.

public DictionaryScanner(IUANode owner)

Parameters

owner IUANode

The NetLogic Owner node.

Exceptions

ArgumentNullException

Thrown if owner is null.

Methods

Scan()

Recursively scans the Owner subtree for translation dictionaries.

public Dictionary<string, TranslationDictionary> Scan()

Returns

Dictionary<string, TranslationDictionary>

A dictionary mapping the node's relative path to its associated .