private async Task AddFile(StorageFile file) { BatNodeLog batNodeLog = await _logReader.Load(file); batNodeLog.Name = file.DisplayName; await _db.InsertLog(batNodeLog); _logFiles.Add(batNodeLog); OnPropertyChanged(nameof(HasFiles)); }
private async Task AnalyzeNode(BatProject project, BatNode node, IStorageFile rawDataFile) { RawNodeData rawData = await _batNodeLogReader.Load(rawDataFile); _logAnalyzer.Analyze(project, node, rawData); }