2021-11-20 13:52:28 +01:00
|
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
|
|
|
|
|
namespace zero.Applications;
|
|
|
|
|
|
|
|
|
|
internal class ArchitectureModule : ZeroModule
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public override void Register(IZeroModuleConfiguration config)
|
|
|
|
|
{
|
2021-11-22 16:03:02 +01:00
|
|
|
config.Services.AddScoped<IBlueprintService, BlueprintService>();
|
2021-11-22 14:29:22 +01:00
|
|
|
config.Services.AddScoped<IInterceptor, BlueprintInterceptor>();
|
|
|
|
|
config.Services.AddScoped<IInterceptor, BlueprintChildInterceptor>();
|
2021-11-20 13:52:28 +01:00
|
|
|
}
|
|
|
|
|
}
|