Esempio n. 1
0
 public ServiceTracer(ITracer tracer, IHostingEnvironment hostingEnvironment, IOptions <ButterflyOptions> options)
 {
     _tracer             = tracer ?? throw new ArgumentNullException(nameof(tracer));
     _hostingEnvironment = hostingEnvironment;
     _butterflyOptions   = options.Value;
     _hostName           = Dns.GetHostName();
 }
Esempio n. 2
0
 public ButterflySenderProvider(IOptions <ButterflyOptions> options)
 {
     _options = options.Value;
 }
Esempio n. 3
0
 public ButterflyDispatcherProvider(IEnumerable <IDispatchCallback> dispatchCallbacks, IOptions <ButterflyOptions> options)
 {
     _dispatchCallbacks = dispatchCallbacks;
     _options           = options.Value;
 }
Esempio n. 4
0
 public ServiceTracerProvider(ITracer tracer, IHostingEnvironment hostingEnvironment, IOptions <ButterflyOptions> options)
 {
     _tracer             = tracer;
     _options            = options.Value;
     _hostingEnvironment = hostingEnvironment;
 }
Esempio n. 5
0
 public RequestTracer(IServiceTracer tracer, IOptions <ButterflyOptions> options)
 {
     _tracer  = tracer;
     _options = options.Value;
 }