Пример #1
0
        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IRequestHistoryCache history, IDebugCallHandler debugCallHandler, IFubuRequest request)
        {
            _report = report;
            _debugCallHandler = debugCallHandler;
            _detector = detector;

            _initialize = () => history.AddReport(report, request.Get<CurrentRequest>());
        }
Пример #2
0
        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IRequestHistoryCache history, IDebugCallHandler debugCallHandler, IFubuRequest request)
        {
            _report           = report;
            _debugCallHandler = debugCallHandler;
            _detector         = detector;

            _initialize = () => history.AddReport(report, request.Get <CurrentRequest>());
        }
Пример #3
0
        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IUrlRegistry urls,
            IRequestHistoryCache history)
        {
            _report = report;
            _detector = detector;
            _urls = urls;

            history.AddReport(report);
        }
Пример #4
0
        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IUrlRegistry urls,
                                  IRequestHistoryCache history)
        {
            _report   = report;
            _detector = detector;
            _urls     = urls;

            history.AddReport(report);
        }