using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using StellaOps.DependencyInjection;

namespace StellaOps.Plugin.DependencyInjection;

public static class StellaOpsPluginRegistration
{
    public static IServiceCollection RegisterStellaOpsPlugin(
        this IServiceCollection services,
        IConfiguration configuration)
    {
        // No-op today but reserved for future plugin infrastructure services.
        return services;
    }
}

public sealed class DependencyInjectionRoutine : IDependencyInjectionRoutine
{
    public IServiceCollection Register(
        IServiceCollection services,
        IConfiguration configuration)
    {
        return services.RegisterStellaOpsPlugin(configuration);
    }
}