Method LogAsTreeItemChilds
LogAsTreeItemChilds(TreeControlItem, object?)
Logs the contents of an object as child items of a TreeControlItem. If the object is an array or an enumerable collection, it logs each item up to a maximum of 100. Also records the total item count.
public static void LogAsTreeItemChilds(TreeControlItem parent, object? result)
Parameters
parent
TreeControlItemThe parent tree item to which the logged elements will be added.
result
objectThe object to log, which may be an array or an enumerable collection.