コード例 #1
0
 public DefaultBlockPoolMonitor(BlockPoolMonitorDimensions dimensions, ITelemetryProducer telemetryProducer)
     : this(telemetryProducer)
 {
     this.LogProperties = new Dictionary <string, string>
     {
         { "BlockPoolId", dimensions.BlockPoolId },
     };
 }
コード例 #2
0
 public DefaultBlockPoolMonitor(BlockPoolMonitorDimensions dimensions, ITelemetryProducer telemetryProducer)
     : this(telemetryProducer)
 {
     this.LogProperties = new Dictionary <string, string>
     {
         { "BlockPoolId", dimensions.BlockPoolId },
         { "HostName", dimensions.NodeConfig.HostNameOrIPAddress }
     };
 }