mirror of https://github.com/abpframework/abp
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.
21 lines
598 B
21 lines
598 B
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.AutoMapper
|
|
{
|
|
[DependsOn(typeof(AbpDddModule))]
|
|
[DependsOn(typeof(AbpAutoMapperModule))]
|
|
[DependsOn(typeof(AbpCommonModule))]
|
|
public class AutoMapperTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.UseStaticMapper = false;
|
|
});
|
|
|
|
services.AddAssemblyOf<AutoMapperTestModule>();
|
|
}
|
|
}
|
|
} |