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>()); }
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>()); }