You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
821 B
26 lines
821 B
using Microsoft.Extensions.DependencyInjection; |
|
using Volo.Abp.Application; |
|
using Volo.Abp.AutoMapper; |
|
using Volo.Abp.Modularity; |
|
using Volo.Abp.PermissionManagement; |
|
|
|
namespace Sanhe.Abp.MenuManagement; |
|
|
|
[DependsOn( |
|
typeof(AbpPermissionManagementApplicationModule), |
|
typeof(MenuManagementDomainModule), |
|
typeof(MenuManagementApplicationContractsModule), |
|
typeof(AbpDddApplicationModule), |
|
typeof(AbpAutoMapperModule) |
|
)] |
|
public class MenuManagementApplicationModule : AbpModule |
|
{ |
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
{ |
|
context.Services.AddAutoMapperObjectMapper<MenuManagementApplicationModule>(); |
|
Configure<AbpAutoMapperOptions>(options => |
|
{ |
|
options.AddMaps<MenuManagementApplicationModule>(); |
|
}); |
|
} |
|
}
|
|
|