using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Autofac; using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; using Volo.Abp.RabbitMQ; using Win_in.Sfs.Shared.Domain; using Win_in.Sfs.Wms.Job.Domain; namespace Win_in.Sfs.Wms.Job.Event; [DependsOn( typeof(AbpAutoMapperModule), typeof(JobDomainModule), typeof(SharedDomainModule), typeof(AbpAutofacModule), typeof(AbpRabbitMqModule)//默认Section名称为"RabbitMQ" )] public class JobEventModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAutoMapperObjectMapper(); Configure(options => { options.AddMaps(validate: true); }); // Configure(options => // { // options.AutoEventSelectors.AddAll(); // } // ); } }