コード例 #1
0
 /// <summary>
 /// Initializes a new instance of <see cref="MetricsCollector"/>
 /// </summary>
 /// <param name="logger"><see cref="ILogger"/> for logging</param>
 /// <param name="configuration"><see cref="ConnectorConfiguration"/> holding all configuration</param>
 public MetricsCollector(ILogger logger, ConnectorConfiguration configuration)
 {
     _logger        = logger;
     _configuration = configuration;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="Connector"/>
 /// </summary>
 /// <param name="logger"><see cref="ILogger"/> for logging</param>
 /// <param name="configuration"><see cref="ConnectorConfiguration"/> holding all configuration</param>
 public BufferSizeCollector(ILogger logger, ConnectorConfiguration configuration)
 {
     _logger        = logger;
     _configuration = configuration;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of <see cref="Connector"/>
 /// </summary>
 /// <param name="logger"><see cref="ILogger"/> for logging</param>
 /// <param name="configuration"><see cref="ConnectorConfiguration"/> holding all configuration</param>
 public PingReplyCollector(ILogger logger, ConnectorConfiguration configuration)
 {
     _logger        = logger;
     _configuration = configuration;
 }