feat(transport): DependencyResolver with topological closure

This commit is contained in:
Joseph Doherty
2026-05-24 04:19:23 -04:00
parent 550ab0e034
commit 06c2b20178
4 changed files with 669 additions and 1 deletions
@@ -1,5 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using ScadaLink.Transport.Export;
namespace ScadaLink.Transport;
@@ -11,7 +12,8 @@ public static class ServiceCollectionExtensions
{
ArgumentNullException.ThrowIfNull(services);
services.AddOptions<TransportOptions>().BindConfiguration(OptionsSection);
// Concrete services added in later tasks.
services.AddScoped<DependencyResolver>();
// Remaining concrete services added in later tasks.
return services;
}
}