void TasksTreeViewRowActivated(object sender, TreeViewRowEventArgs e) { selectedTaskRunnerNode = GetTaskRunnerTreeNode(e.Position); if (selectedTaskRunnerNode?.GetErrorNode() != null) { ShowTaskRunnerExplorerLog(); } else { RunTask(); } }
TaskRunnerErrorNode GetSelectedErrorNode() { return(selectedTaskRunnerNode?.GetErrorNode()); }