using Kean.Application.Command.Implements; using Kean.Application.Command.Interfaces; using Microsoft.Extensions.DependencyInjection; namespace Kean.Application.Command { /// /// 依赖注入 /// public sealed class DependencyInjection { /// /// 初始化 Kean.Application.Command.DependencyInjection 类的新实例 /// /// 服务描述符 public DependencyInjection(IServiceCollection services) { // AutoMapper services.AddAutoMapper(typeof(AutoMapper)); // Services services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); } } }