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.
33 lines
995 B
33 lines
995 B
using Localization.Resources.AbpUi;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.AspNetCore.Mvc;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Modularity;
|
|
using Win_in.Sfs.Message.Application.Contracts;
|
|
using Win_in.Sfs.Message.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Message.HttpApi;
|
|
|
|
[DependsOn(
|
|
typeof(MessageApplicationContractsModule),
|
|
typeof(AbpAspNetCoreMvcModule))]
|
|
public class MessageHttpApiModule : AbpModule
|
|
{
|
|
public override void PreConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
PreConfigure<IMvcBuilder>(mvcBuilder =>
|
|
{
|
|
mvcBuilder.AddApplicationPartIfNotExists(typeof(MessageHttpApiModule).Assembly);
|
|
});
|
|
}
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Get<MessageResource>()
|
|
.AddBaseTypes(typeof(AbpUiResource));
|
|
});
|
|
}
|
|
}
|
|
|