using Microsoft.Extensions.DependencyInjection; namespace AvParser.Core.DependencyInjection; /// Composition root for the domain layer. public static class CoreServiceCollectionExtensions { /// /// Registers the domain services. Media sources are user-added data now, not registered types, /// so they are built from the persisted store in the infrastructure layer rather than here. /// public static IServiceCollection AddAvParserCore(this IServiceCollection services) { ArgumentNullException.ThrowIfNull(services); return services; } }