|
|
|
@ -3,6 +3,7 @@ using Volo.Abp.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.FeatureManagement.Localization; |
|
|
|
using Volo.Abp.Localization; |
|
|
|
using Volo.Abp.Modularity; |
|
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
|
|
|
|
namespace Volo.Abp.FeatureManagement |
|
|
|
{ |
|
|
|
@ -11,6 +12,14 @@ namespace Volo.Abp.FeatureManagement |
|
|
|
typeof(AbpAspNetCoreMvcModule))] |
|
|
|
public class AbpFeatureManagementHttpApiModule : AbpModule |
|
|
|
{ |
|
|
|
public override void PreConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
PreConfigure<IMvcBuilder>(mvcBuilder => |
|
|
|
{ |
|
|
|
mvcBuilder.AddApplicationPartIfNotExists(typeof(AbpFeatureManagementHttpApiModule).Assembly); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
Configure<AbpLocalizationOptions>(options => |
|
|
|
|