Beispiel #1
0
 public InstrumentationHanlder(IResponseInstrumentation responseInstru, IResponseBanner banner = null)
 {
     _responseIntru = responseInstru ?? throw new ArgumentNullException(nameof(responseInstru));
     _banner        = banner ?? new HtmlBanner(_prefix, _suffix);
 }
Beispiel #2
0
 public AspNetInsightHanlder(IResponseInstrumentation responseInstru, IResponseBanner banner = null)
 {
     _otherHanlder = new InstrumentationHanlder(responseInstru, banner);
     _type         = HanlderType.Others;
 }