using AutoMapper; using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme; using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Routing; using Microsoft.Extensions.DependencyInjection; using Volo.Abp.AutoMapper; using Volo.Abp.Modularity; using Lsw.Abp.SettingManagement.Blazor.AntDesignUI.Settings; using Volo.Abp.SettingManagement; using Volo.Abp.SettingManagement.Blazor; using Volo.Abp.UI.Navigation; namespace Lsw.Abp.SettingManagement.Blazor.AntDesignUI; [DependsOn( typeof(AbpAutoMapperModule), typeof(AbpSettingManagementApplicationContractsModule), typeof(AbpAspNetCoreComponentsWebAntDesignThemeModule) )] public class AbpSettingManagementBlazorAntDesignModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddAutoMapperObjectMapper(); Configure(options => { options.AddProfile(validate: true); }); Configure(options => { options.MenuContributors.Add(new SettingManagementMenuContributor()); }); Configure(options => { options.AdditionalAssemblies.Add(typeof(AbpSettingManagementBlazorAntDesignModule).Assembly); }); Configure(options => { options.Contributors.Add(new AntDesignSettingDefultPageContributor()); }); } }