sln build fix (again), tests fixes, audit work and doctors work

This commit is contained in:
master
2026-01-12 22:15:51 +02:00
parent 9873f80830
commit 9330c64349
812 changed files with 48051 additions and 3891 deletions

View File

@@ -0,0 +1,21 @@
using Microsoft.Extensions.DependencyInjection;
using StellaOps.Doctor.Plugins;
namespace StellaOps.Doctor.Plugins.AI.DependencyInjection;
/// <summary>
/// Extension methods for registering the AI diagnostics plugin.
/// </summary>
public static class AIPluginExtensions
{
/// <summary>
/// Adds the AI diagnostics plugin to the service collection.
/// </summary>
/// <param name="services">The service collection.</param>
/// <returns>The service collection for chaining.</returns>
public static IServiceCollection AddDoctorAIPlugin(this IServiceCollection services)
{
services.AddSingleton<IDoctorPlugin, AIPlugin>();
return services;
}
}