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.
25 lines
761 B
25 lines
761 B
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.AutoMapper;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.Application;
|
|
|
|
namespace Volo.CmsKit
|
|
{
|
|
[DependsOn(
|
|
typeof(CmsKitDomainModule),
|
|
typeof(CmsKitApplicationContractsModule),
|
|
typeof(AbpDddApplicationModule),
|
|
typeof(AbpAutoMapperModule)
|
|
)]
|
|
public class CmsKitApplicationModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.AddAutoMapperObjectMapper<CmsKitApplicationModule>();
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.AddMaps<CmsKitApplicationModule>(validate: true);
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|