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.
19 lines
543 B
19 lines
543 B
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.AutoMapper
|
|
{
|
|
[DependsOn(typeof(AbpAutoMapperModule))]
|
|
public class AutoMapperTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.UseStaticMapper = false;
|
|
});
|
|
|
|
context.Services.AddAssemblyOf<AutoMapperTestModule>();
|
|
}
|
|
}
|
|
} |