15 lines
625 B
C#
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;
|
|
}
|
|
}
|