public ServiceReporterFactory(IMetricsRegistry registry, IRubyServiceHost service_host) { if (service_host == null) { throw new ArgumentNullException("service_host"); } registry_ = registry; service_host_ = service_host; func_ = CreateDynamicServiceReporter; }
public ServiceReporterFactory(IMetricsRegistry registry, IRubyServiceHost service_host) { if (service_host == null) { throw new ArgumentNullException("service_host"); } registry_ = registry; service_host_ = service_host; func_ = CreateDynamicServiceReporter; }
/// <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; }