Beispiel #1
0
        public DebugEventRecorder(
            IBatchEventAggregator <DebugEventBatchParams, DebugEventBatchSummary>
            batchEventAggregator, IMetrics metrics)
        {
            _batchEventAggregator = batchEventAggregator;
            _metrics = metrics;

            batchEventAggregator.BatchSummaryReady +=
                (_, batchSummary) => OnBatchSummaryReady(batchSummary);
        }
        public ExpressionEvaluationRecorder(
            IBatchEventAggregator <ExpressionEvaluationBatchParams, ExpressionEvaluationBatchSummary>
            batchEventAggregator, IMetrics metrics)
        {
            _batchEventAggregator = batchEventAggregator;
            _metrics = metrics;

            _batchEventAggregator.BatchSummaryReady +=
                (_, batchSummary) => OnBatchSummaryReady(batchSummary);
        }