Exemple #1
0
        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;
        }
Exemple #2
0
 public TestResult(Traffic traffic, SnapshotDifference snapshotDifference)
 {
     _traffic = traffic;
     _newObjectsSizeInBytes = snapshotDifference.GetNewObjects().SizeInBytes;
     _newObjectsCount       = snapshotDifference.GetNewObjects().ObjectsCount;
 }