Click or drag to resize
UtilityPrintModel Method
Recursively prints the application Model to the specified logger.

Namespace: OpenIIoT.Core
Assembly: OpenIIoT (in OpenIIoT.exe) Version: 0.5.0.39120
Syntax
public static void PrintModel(
	Logger logger,
	Item root,
	int indent,
	List<bool> levels = null,
	bool last = false
)

Parameters

logger
Type: Logger
The logger to which the Model should be printed.
root
Type: OpenIIoT.SDK.CommonItem
The root Item from which the print should begin.
indent
Type: SystemInt32
The current level of indent to apply.
levels (Optional)
Type: System.Collections.GenericListBoolean
The list of indentation levels.
last (Optional)
Type: SystemBoolean
True if the specified element is the last in the current chain.
See Also