Esempio n. 1
0
 public EnterspeedIngestService(
     IEnterspeedConnection connection,
     IJsonSerializer jsonSerializer,
     IEnterspeedConfigurationProvider configurationProvider)
 {
     _connection     = connection;
     _jsonSerializer = jsonSerializer;
     _ingestEndpoint = $"/ingest/v{configurationProvider.Configuration.IngestVersion}";
 }
Esempio n. 2
0
 public DashboardApiController(
     IEnterspeedJobRepository enterspeedJobRepository,
     IEnterspeedJobService enterspeedJobService,
     IEnterspeedConfigurationService enterspeedConfigurationService,
     IEnterspeedConnection enterspeedConnection)
 {
     _enterspeedJobRepository        = enterspeedJobRepository;
     _enterspeedJobService           = enterspeedJobService;
     _enterspeedConfigurationService = enterspeedConfigurationService;
     _enterspeedConnection           = enterspeedConnection;
 }