public ServiceReporterFactory(IMetricsRegistry registry,
   IRubyServiceHost service_host) {
   if (service_host == null) {
     throw new ArgumentNullException("service_host");
   }
   registry_ = registry;
   service_host_ = service_host;
   func_ = CreateDynamicServiceReporter;
 }
예제 #2
0
 public ServiceReporterFactory(IMetricsRegistry registry,
                               IRubyServiceHost service_host)
 {
     if (service_host == null)
     {
         throw new ArgumentNullException("service_host");
     }
     registry_     = registry;
     service_host_ = service_host;
     func_         = CreateDynamicServiceReporter;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IMetricsReporterFactory"/>.
 /// </summary>
 public ServiceReporterFactory(IMetricsRegistry registry)
 {
     registry_ = registry;
     func_     = CreateServiceReporter;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="IMetricsReporterFactory"/>.
 /// </summary>
 public ServiceReporterFactory(IMetricsRegistry registry) {
   registry_ = registry;
   func_ = CreateServiceReporter;
 }