Refactor DependencyInjection and RepositoryConfiguration classes

Restructure code for improved readability and maintainability. Move RepositoryConfiguration as a nested public class inside DependencyInjection, group related service registration logic, and clarify method organization. No functional changes.
This commit is contained in:
2025-12-19 10:09:04 +01:00
parent daa36d767d
commit 1e3cba6fdf

View File

@@ -11,12 +11,7 @@ using System.Linq;
#endif #endif
namespace DigitalData.Core.Infrastructure namespace DigitalData.Core.Infrastructure
#if NET
;
#elif NETFRAMEWORK
{ {
#endif
public static class DependencyInjection public static class DependencyInjection
{ {
public static IServiceCollection AddDbRepository(this IServiceCollection services, Action<RepositoryConfiguration> options) public static IServiceCollection AddDbRepository(this IServiceCollection services, Action<RepositoryConfiguration> options)
@@ -146,7 +141,4 @@ public static class DependencyInjection
return services; return services;
} }
} }
#if NETFRAMEWORK
} }
#endif