private void ApplyDiff(SnapshotDifference diff) { // Show errors if any. Details = diff.Details; // Set IsSynchronizedWithCurrentItem on DataGrid. Otherwise the first item of the collection view gets automatically // selected. In this app the detail window shows also the error messages from the UMDH process. var collectionView = new ListCollectionView(diff.Traces); collectionView.Filter += FilterFunc; TracesView = collectionView; }
public TestResult(Traffic traffic, SnapshotDifference snapshotDifference) { _traffic = traffic; _newObjectsSizeInBytes = snapshotDifference.GetNewObjects().SizeInBytes; _newObjectsCount = snapshotDifference.GetNewObjects().ObjectsCount; }