Пример #1
0
 public EndpointMonitor(IBus bus,
                        ITransportInspector transportInspector,
                        IHostInspector hostInspector)
 {
     this.bus = bus;
     this.transportInspector = transportInspector;
     this.hostInspector      = hostInspector;
 }
Пример #2
0
 public EndpointMonitor( IBus bus,
                         ITransportInspector transportInspector, 
                         IHostInspector hostInspector)
 {
     this.bus = bus;
     this.transportInspector = transportInspector;
     this.hostInspector = hostInspector;
 }
        public static Configure ConfigureInstrumentation(this Configure config, IHostInspector hostInspector)
        {
            config.Configurer.ConfigureComponent<EndpointMonitor>(ComponentCallModelEnum.Singlecall);
            config.Configurer.ConfigureComponent<MsmqTransportInspector>(ComponentCallModelEnum.Singlecall);

            config.Configurer.RegisterSingleton(typeof (IHostInspector), hostInspector);

            return config;
        }
Пример #4
0
        public static Configure ConfigureInstrumentation(this Configure config, IHostInspector hostInspector)
        {
            config.Configurer.ConfigureComponent <EndpointMonitor>(ComponentCallModelEnum.Singlecall);
            config.Configurer.ConfigureComponent <MsmqTransportInspector>(ComponentCallModelEnum.Singlecall);

            config.Configurer.RegisterSingleton(typeof(IHostInspector), hostInspector);

            return(config);
        }