private void onFileLoaded(FileLoadedMessage message) { header = message.File.Header; viewModel.ExportTableEntries = new ObservableCollection<ExportTableEntryViewEntity>(mapper.Map<IEnumerable<ExportTableEntryViewEntity>>(message.File.Header.ExportTable)); exportTableEntries.AddRange(message.File.Header.ExportTable); viewModel.ExportTableEntries.ForEach(export => export.PropertyChanged += onExportTableEntryPropertyChanged); }
private void onFileLoaded(FileLoadedMessage message) { viewModel.ImportTableEntries = new ObservableCollection<ImportTableEntryViewEntity>(mapper.Map<IEnumerable<ImportTableEntryViewEntity>>(message.File.Header.ImportTable)); }
private void onFileLoaded(FileLoadedMessage message) { viewModel.Title = "Depends Table"; title = viewModel.Title; Task.Run(() => buildHexDataAsync(message.File.Header.DependsTable, message.File.Header.DependsTableOffset, resetToken())).FireAndForget(); }
private void onFileLoaded(FileLoadedMessage message) { viewModel.CompressionTableEntries.AddRange(mapper.Map<IEnumerable<CompressionTableEntryViewEntity>>(message.File.Header.CompressedChunks)); viewModel.CompressionTableEntries.ForEach(ct => ct.PropertyChanged += onCompressionTableEntryChanged); }
private void onFileLoaded(FileLoadedMessage message) { viewModel.File = message.FileViewEntity; viewModel.Header = mapper.Map<HeaderViewEntity>(message.File.Header); upkfile = message.File; }
private void onFileLoaded(FileLoadedMessage message) { viewModel.StatusText = message.File.Header.FullFilename; }
private void onFileLoaded(FileLoadedMessage message) { header = message.File.Header; imports = header.ImportTable.ToList(); exports = header.ExportTable.ToList(); Task.Run(() => buildObjectParents(resetToken())).FireAndForget(); }