mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
36 lines
1.2 KiB
36 lines
1.2 KiB
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly.Theming.Routing;
|
|
using Volo.Abp.AutoMapper;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.SettingManagement.Blazor.Menus;
|
|
using Volo.Abp.UI.Navigation;
|
|
|
|
namespace Volo.Abp.SettingManagement.Blazor
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpSettingManagementDomainSharedModule),
|
|
typeof(AbpAutoMapperModule)
|
|
)]
|
|
public class AbpSettingManagementBlazorModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.AddAutoMapperObjectMapper<AbpSettingManagementBlazorModule>();
|
|
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.AddProfile<SettingManagementBlazorAutoMapperProfile>(validate: true);
|
|
});
|
|
|
|
Configure<AbpNavigationOptions>(options =>
|
|
{
|
|
options.MenuContributors.Add(new SettingManagementMenuContributor());
|
|
});
|
|
|
|
Configure<AbpRouterOptions>(options =>
|
|
{
|
|
options.AdditionalAssemblies.Add(typeof(AbpSettingManagementBlazorModule).Assembly);
|
|
});
|
|
}
|
|
}
|
|
}
|