private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e) { var pHmi = (PHmi) DataContext; if (pHmi != null) _log = pHmi.Log; }
public void Add(LogAbstract log) { _logs.Add(log.Id, log); }