15 lines
379 B
C#
15 lines
379 B
C#
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace InServiceQue;
|
|
|
|
public static class InjectionExtensions
|
|
{
|
|
public static IServiceCollection AddInServiceQue(this IServiceCollection services, Action<InServiceQueBuilder> buildAction)
|
|
|
|
{
|
|
var builder = new InServiceQueBuilder(services);
|
|
buildAction(builder);
|
|
|
|
return services;
|
|
}
|
|
} |