Esempio n. 1
0
    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);
    }
Esempio n. 2
0
 private void onFileLoaded(FileLoadedMessage message) {
   viewModel.ImportTableEntries = new ObservableCollection<ImportTableEntryViewEntity>(mapper.Map<IEnumerable<ImportTableEntryViewEntity>>(message.File.Header.ImportTable));
 }
Esempio n. 3
0
    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);
    }
Esempio n. 5
0
    private void onFileLoaded(FileLoadedMessage message) {
      viewModel.File   = message.FileViewEntity;
      viewModel.Header = mapper.Map<HeaderViewEntity>(message.File.Header);

      upkfile = message.File;
    }
Esempio n. 6
0
 private void onFileLoaded(FileLoadedMessage message) {
   viewModel.StatusText = message.File.Header.FullFilename;
 }
Esempio n. 7
0
    private void onFileLoaded(FileLoadedMessage message) {
      header = message.File.Header;

      imports = header.ImportTable.ToList();
      exports = header.ExportTable.ToList();

      Task.Run(() => buildObjectParents(resetToken())).FireAndForget();
    }