lingling
2025-03-07 1b33c9c58b57bde6b60de30dfc8727132b92829d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using LifePayment.Application.Contracts;
using LifePayment.Domain;
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.VirtualFileSystem;
 
namespace LifePayment.Application
{
    [DependsOn(typeof(LifePaymentServicesDomainModule),
               typeof(LifePaymentServicesApplicationContractsModule),
               typeof(AbpBaseFeatureModule))]
    public class LifePaymentServicesApplicationModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpVirtualFileSystemOptions>(options =>
            {
                options.FileSets.AddEmbedded<LifePaymentServicesApplicationModule>(typeof(LifePaymentServicesApplicationModule).Namespace);
            });
            context.Services.AddAutoMapperObjectMapper<LifePaymentServicesApplicationModule>();
 
            Configure<AbpAutoMapperOptions>(options =>
            {
                options.AddProfile<LifePaymentServicesApplicationModuleAutoMapperProfile>(validate: true);
            });
        }
    }
}