Wires the music library services into the dependency injection container and the solution

This commit is contained in:
BinaryAlley committed 2026-10-10 14:07:00 +03:00
1 parent 76645b5eb9
commit 95e771191e
6 files changed
+294 -50

No files matched your search

@@ -8,6 +8,7 @@ using Lumina.Domain.Core.BoundedContexts.LibraryManagementBoundedContext.Library
using Lumina.Domain.Core.BoundedContexts.LibraryManagementBoundedContext.LibraryScanAggregate.Services.Progress;
using Lumina.Domain.Core.BoundedContexts.LibraryManagementBoundedContext.LibraryScanAggregate.Services.PathTemplate;
using Lumina.Domain.Core.BoundedContexts.AudioLibraryBoundedContext.MusicLibraryAggregate.Services.PathTemplate;
using Lumina.Domain.Core.BoundedContexts.AudioLibraryBoundedContext.MusicLibraryAggregate.Services.Scanners;
using Lumina.Domain.Core.BoundedContexts.LibraryManagementBoundedContext.LibraryScanAggregate.Services.Scanners;
using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.BookLibraryAggregate.Services.PathTemplate;
using Lumina.Domain.Core.BoundedContexts.WrittenContentLibraryBoundedContext.BookLibraryAggregate.Services.Scanners;
@@ -52,6 +53,7 @@ public static class DomainLayerServices
services.AddScoped<IMediaLibraryScanJobFactory, MediaLibraryScanJobFactory>();
services.AddScoped<IMediaLibraryScanningService, MediaLibraryScanningService>();
services.AddScoped<IBookLibraryTypeScanner, BookLibraryTypeScanner>();
services.AddScoped<IMusicLibraryTypeScanner, MusicLibraryTypeScanner>();
services.AddScoped<IMediaLibraryScannerFactory, MediaLibraryScannerFactory>();
services.AddScoped<ILibraryPathPartCatalog, MusicLibraryPathPartCatalog>();
services.AddScoped<ILibraryPathPartCatalog, BookLibraryPathPartCatalog>();