public ReportManager( string node, IEmailStoreFactory factory, ServiceConfiguration configuration, BillingAgent billingAgent, MetricManager metricManager, ICredentialManager credentialManager) { this.node = node; this.store = factory.GetStore(); this.telemetryManager = new ReportTelemetryManager( factory, configuration, billingAgent, metricManager); this.credentialManager = credentialManager; this.configuration = configuration; }
public ReportManager( ISmsStoreFactory factory, ServiceConfiguration configuration, BillingAgent billingAgent, MetricManager metricManager, ICredentialManager credentialManager /*,ITimeSeriesManager timeSeriesManager*/) { this.store = factory.GetStore(); this.telemetryManager = new ReportTelemetryManager( factory, configuration, billingAgent, metricManager, credentialManager); this.agents = new ConcurrentDictionary <string, ReportAgent>(); this.credentialManager = credentialManager; // this.timeSeriesManager = timeSeriesManager; this.Init().Wait(); }