public PickANumber(IMyTelemetry telemetryClient) { _telemetryClient = telemetryClient; _dictionary = new Dictionary <int, IMyMetric>(); }
public Looper(ILoggerFactory loggerFactory, IPickANumber pickANumber, IMyTelemetry telemetryClient) { _pickANumber = pickANumber; _metric = telemetryClient.GetMetric($"{nameof(Looper)}.RunDuration"); _logger = loggerFactory.CreateLogger <Looper>(); }