public void OpenLogFilePath(string logFilePath) { var newLogFile = new LogFile(logFilePath); SettingsService.AddOrUpdateLogFile(newLogFile, true); LogFilesSourceCache.AddOrUpdate(newLogFile); SelectedLogFile = newLogFile; OpenSelectedLogFile(); }
public void OpenLogFilePath(string logFilePath) { var newLogFile = new LogFile(logFilePath); SettingsService.AddOrUpdateLogFile(newLogFile, true); LogFilesSourceCache.AddOrUpdate(newLogFile); SelectedLogFile = newLogFile; OpenSelectedLogFile(); }