new two advisories and sprints work on them
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using StellaOps.Doctor.Plugins;
|
||||
|
||||
namespace StellaOps.Doctor.Plugins.Verification.DependencyInjection;
|
||||
|
||||
/// <summary>
|
||||
/// Extension methods for registering the Verification plugin.
|
||||
/// </summary>
|
||||
public static class VerificationPluginExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// Adds the Verification diagnostic plugin to the Doctor service.
|
||||
/// </summary>
|
||||
/// <param name="services">The service collection.</param>
|
||||
/// <returns>The service collection for chaining.</returns>
|
||||
public static IServiceCollection AddDoctorVerificationPlugin(this IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<IDoctorPlugin, VerificationPlugin>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user