Files
KArtSell.Aegis/docs/Design/kbx-foundation-v36/backend/Shared/ExternalData/KbxExternalDataRegistration.cs
T

15 lines
625 B
C#

using Microsoft.Extensions.DependencyInjection;
namespace Kbx.Shared.ExternalData;
public static class KbxExternalDataRegistration
{
public static IServiceCollection AddKbxExternalData(this IServiceCollection services)
{
services.AddSingleton<KbxExternalDataRepository>();
services.AddSingleton<IKbxExternalDataRefreshScheduler,KbxExternalDataRefreshScheduler>();
services.AddSingleton<KbxExternalDataRefresherRegistry>();
services.AddSingleton<KbxExternalDataCacheCoordinator>();
services.AddSingleton<KrxApprovedServiceNormalizerRegistry>();
return services;
}
}