예제 #1
0
        public BehaviorTracer(BehaviorCorrelation correlation, IDebugReport report, IDebugDetector debugDetector)
        {
            _report = report;
            _debugDetector = debugDetector;

            if (_report.BehaviorId == Guid.Empty)
            {
                _report.BehaviorId = correlation.ChainId;
            }

            _behaviorId = correlation.BehaviorId;
        }
예제 #2
0
        public BehaviorTracer(BehaviorCorrelation correlation, IDebugReport report, IDebugDetector debugDetector)
        {
            _report        = report;
            _debugDetector = debugDetector;

            if (_report.BehaviorId == Guid.Empty)
            {
                _report.BehaviorId = correlation.ChainId;
            }

            _behaviorId = correlation.BehaviorId;
        }