using Microsoft.Extensions.DependencyInjection; namespace Volo.Abp.ObjectMapping { public static class TestContextRegistrar { public static IServiceCollection AddTest1AutoObjectMappingProvider(this IServiceCollection services) { return services .AddTransient< IAutoObjectMappingProvider, Test1AutoObjectMappingProvider >(); } public static IServiceCollection AddTest2AutoObjectMappingProvider(this IServiceCollection services) { return services .AddTransient< IAutoObjectMappingProvider, Test2AutoObjectMappingProvider >(); } } }