예제 #1
0
 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));
     }
 }
예제 #2
0
 private void ClearNamespaceHighlight()
 {
     Namespaces.Flatten(x => x.Children).ToList().ForEach(m => m.IsHighlighted = false);
 }