// used only for testing
 internal async Task LoadEmptyProviders()
 {
     statisticsProviderLoader = new ProviderLoader <IProvider>();
     statisticsProviderLoader.LoadProviders(new Dictionary <string, IProviderConfiguration>(), this);
     await statisticsProviderLoader.InitProviders(runtime);
 }
Exemple #2
0
 public StatisticsProviderManager(IProviderRuntime runtime, LoadedProviderTypeLoaders loadedProviderTypeLoaders)
 {
     providerKind             = ProviderCategoryConfiguration.STATISTICS_PROVIDER_CATEGORY_NAME;
     this.runtime             = runtime;
     statisticsProviderLoader = new ProviderLoader <IProvider>(loadedProviderTypeLoaders);
 }