コード例 #1
0
 public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IActionBehavior inner, IUrlRegistry urls)
 {
     _report   = report;
     _detector = detector;
     _inner    = inner;
     _urls     = urls;
 }
コード例 #2
0
 public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IActionBehavior inner, IUrlRegistry urls)
 {
     _report = report;
     _detector = detector;
     _inner = inner;
     _urls = urls;
 }
コード例 #3
0
ファイル: RecordingOutputWriter.cs プロジェクト: KevM/fubumvc
 public RecordingOutputWriter(IDebugReport report, IDebugDetector detector, IHttpWriter inner,
     IFileSystem fileSystem)
     : base(inner, fileSystem)
 {
     _report = report;
     _detector = detector;
 }
コード例 #4
0
 public RecordingOutputWriter(IDebugReport report, IDebugDetector detector, IHttpWriter inner,
                              IFileSystem fileSystem)
     : base(inner, fileSystem)
 {
     _report   = report;
     _detector = detector;
 }
コード例 #5
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>());
        }
コード例 #6
0
 public DiagnosticBehavior(IRequestTrace trace, IDebugDetector detector, IOutputWriter writer,
     IExceptionHandlingObserver exceptionObserver)
 {
     _trace = trace;
     _detector = detector;
     _writer = writer;
     _exceptionObserver = exceptionObserver;
 }
コード例 #7
0
 public DiagnosticBehavior(IRequestTrace trace, IDebugDetector detector, IOutputWriter writer,
                           IExceptionHandlingObserver exceptionObserver)
 {
     _trace             = trace;
     _detector          = detector;
     _writer            = writer;
     _exceptionObserver = exceptionObserver;
 }
コード例 #8
0
ファイル: DiagnosticBehavior.cs プロジェクト: jemacom/fubumvc
        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>());
        }
コード例 #9
0
        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IUrlRegistry urls,
                                  IRequestHistoryCache history)
        {
            _report   = report;
            _detector = detector;
            _urls     = urls;

            history.AddReport(report);
        }
コード例 #10
0
        public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IUrlRegistry urls,
            IRequestHistoryCache history)
        {
            _report = report;
            _detector = detector;
            _urls = urls;

            history.AddReport(report);
        }
コード例 #11
0
ファイル: BehaviorTracer.cs プロジェクト: rmueller/fubumvc
        public BehaviorTracer(BehaviorCorrelation correlation, IDebugReport report, IDebugDetector debugDetector)
        {
            _report        = report;
            _debugDetector = debugDetector;

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

            _behaviorId = correlation.BehaviorId;
        }
コード例 #12
0
ファイル: BehaviorTracer.cs プロジェクト: jemacom/fubumvc
        public BehaviorTracer(BehaviorCorrelation correlation, IDebugReport report, IDebugDetector debugDetector)
        {
            _report = report;
            _debugDetector = debugDetector;

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

            _behaviorId = correlation.BehaviorId;
        }
コード例 #13
0
 public BehaviorTracer(IDebugReport report, IDebugDetector debugDetector, IActionBehavior inner)
 {
     _report = report;
     _debugDetector = debugDetector;
     _inner = inner;
 }
コード例 #14
0
 public RecordingOutputWriter(IDebugDetector detector, IDebugReport report)
 {
     _report = report;
     _inner  = detector.IsDebugCall() ? (IOutputWriter) new NulloOutputWriter() : new HttpResponseOutputWriter();
 }
コード例 #15
0
 public DiagnosticBehavior(IRequestTrace trace, IDebugDetector detector, IOutputWriter writer)
 {
     _trace = trace;
     _detector = detector;
     _writer = writer;
 }
コード例 #16
0
 public DiagnosticBehavior(IDebugReport report, IDebugDetector detector, IActionBehavior inner)
 {
     _report = report;
     _detector = detector;
     _inner = inner;
 }
コード例 #17
0
 public DebuggingOutputWriter(IDebugDetector detector, IDebugReport report)
 {
     _inner = detector.IsDebugCall() ? (IOutputWriter) new RecordingOutputWriter(report) : new HttpResponseOutputWriter();
 }
コード例 #18
0
 public BehaviorTracer(IDebugReport report, IDebugDetector debugDetector, IActionBehavior inner)
 {
     _report        = report;
     _debugDetector = debugDetector;
     _inner         = inner;
 }
コード例 #19
0
 public DebuggingOutputWriter(IDebugDetector detector, IDebugReport report)
 {
     _inner = detector.IsDebugCall() ? (IOutputWriter) new RecordingOutputWriter(report) : new HttpResponseOutputWriter();
 }
コード例 #20
0
 public BehaviorTracer(BehaviorCorrelation correlation, IDebugDetector debugDetector, ILogger logger)
 {
     _correlation = correlation;
     _debugDetector = debugDetector;
     _logger = logger;
 }
コード例 #21
0
 public RecordingOutputWriter(IDebugDetector detector, IDebugReport report)
 {
     _report = report;
     _inner = detector.IsDebugCall() ? (IOutputWriter)new NulloOutputWriter() : new HttpResponseOutputWriter();
 }
コード例 #22
0
 public BehaviorTracer(IDebugReport report, IDebugDetector debugDetector)
 {
     _report        = report;
     _debugDetector = debugDetector;
 }