Files
mixtape/zero.Core/Architecture/ServiceCollectionExtensions.cs
T

14 lines
443 B
C#

using Microsoft.Extensions.DependencyInjection;
namespace zero.Architecture;
internal static class ServiceCollectionExtensions
{
public static IServiceCollection AddZeroBlueprints(this IServiceCollection services)
{
services.AddScoped<IBlueprintService, BlueprintService>();
services.AddScoped<IInterceptor, BlueprintInterceptor>();
services.AddScoped<IInterceptor, BlueprintChildInterceptor>();
return services;
}
}