first commit
This commit is contained in:
@ -0,0 +1,41 @@
|
||||
using Localization.Resources.AbpUi;
|
||||
using KonSoft.Payment.Localization;
|
||||
using Volo.Abp.Account;
|
||||
using Volo.Abp.FeatureManagement;
|
||||
using Volo.Abp.Identity;
|
||||
using Volo.Abp.Localization;
|
||||
using Volo.Abp.Modularity;
|
||||
using Volo.Abp.PermissionManagement.HttpApi;
|
||||
using Volo.Abp.SettingManagement;
|
||||
using Volo.Abp.TenantManagement;
|
||||
|
||||
namespace KonSoft.Payment;
|
||||
|
||||
[DependsOn(
|
||||
typeof(PaymentApplicationContractsModule),
|
||||
typeof(AbpAccountHttpApiModule),
|
||||
typeof(AbpIdentityHttpApiModule),
|
||||
typeof(AbpPermissionManagementHttpApiModule),
|
||||
typeof(AbpTenantManagementHttpApiModule),
|
||||
typeof(AbpFeatureManagementHttpApiModule),
|
||||
typeof(AbpSettingManagementHttpApiModule)
|
||||
)]
|
||||
public class PaymentHttpApiModule : AbpModule
|
||||
{
|
||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
||||
{
|
||||
ConfigureLocalization();
|
||||
}
|
||||
|
||||
private void ConfigureLocalization()
|
||||
{
|
||||
Configure<AbpLocalizationOptions>(options =>
|
||||
{
|
||||
options.Resources
|
||||
.Get<PaymentResource>()
|
||||
.AddBaseTypes(
|
||||
typeof(AbpUiResource)
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user