RE 4 (incl. new Interceptors)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace zero;
|
||||
|
||||
public static class ZeroServiceCollectionExtensions
|
||||
{
|
||||
public static ZeroBuilder AddZero(this IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
return new ZeroBuilder(services, configuration, null);
|
||||
}
|
||||
|
||||
public static ZeroBuilder AddZero(this IServiceCollection services, IConfiguration configuration, Action<IZeroStartupOptions> setupAction)
|
||||
{
|
||||
return new ZeroBuilder(services, configuration, setupAction);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user