private void SetNamespaceHighlight(LogViewModel log) { if (selectedLog != null) { SelectedNamespaceViewModel = Namespaces.Flatten(x => x.Children).FirstOrDefault(model => model.Fullname.Equals(selectedLog.Application + Constants.NAMESPACE_SPLITTER + selectedLog.Namespace)); } }
private void ClearNamespaceHighlight() { Namespaces.Flatten(x => x.Children).ToList().ForEach(m => m.IsHighlighted = false); }