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