sln build fix (again), tests fixes, audit work and doctors work
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using StellaOps.Doctor.Plugins;
|
||||
|
||||
namespace StellaOps.Doctor.Plugins.Integration.DependencyInjection;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for registering the Integration plugin.
|
||||
/// </summary>
|
||||
public static class IntegrationPluginExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds the Doctor Integration plugin to the service collection.
|
||||
/// </summary>
|
||||
public static IServiceCollection AddDoctorIntegrationPlugin(this IServiceCollection services)
|
||||
{
|
||||
services.TryAddEnumerable(ServiceDescriptor.Singleton<IDoctorPlugin, IntegrationPlugin>());
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user