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