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.
59 lines
1.9 KiB
59 lines
1.9 KiB
1 year ago
|
using WinIn.FasterZ.AgGridReport.Localization;
|
||
|
using Volo.Abp.AuditLogging;
|
||
|
using Volo.Abp.BackgroundJobs;
|
||
|
using Volo.Abp.FeatureManagement;
|
||
|
using Volo.Abp.Identity;
|
||
|
using Volo.Abp.Localization;
|
||
|
using Volo.Abp.Localization.ExceptionHandling;
|
||
|
using Volo.Abp.Modularity;
|
||
|
using Volo.Abp.OpenIddict;
|
||
|
using Volo.Abp.PermissionManagement;
|
||
|
using Volo.Abp.SettingManagement;
|
||
|
using Volo.Abp.TenantManagement;
|
||
|
using Volo.Abp.Validation.Localization;
|
||
|
using Volo.Abp.VirtualFileSystem;
|
||
|
|
||
|
namespace WinIn.FasterZ.AgGridReport;
|
||
|
|
||
|
[DependsOn(
|
||
|
typeof(AbpAuditLoggingDomainSharedModule),
|
||
|
typeof(AbpBackgroundJobsDomainSharedModule),
|
||
|
typeof(AbpFeatureManagementDomainSharedModule),
|
||
|
typeof(AbpIdentityDomainSharedModule),
|
||
|
typeof(AbpOpenIddictDomainSharedModule),
|
||
|
typeof(AbpPermissionManagementDomainSharedModule),
|
||
|
typeof(AbpSettingManagementDomainSharedModule),
|
||
|
typeof(AbpTenantManagementDomainSharedModule)
|
||
|
)]
|
||
|
public class AgGridReportDomainSharedModule : AbpModule
|
||
|
{
|
||
|
public override void PreConfigureServices(ServiceConfigurationContext context)
|
||
|
{
|
||
|
AgGridReportGlobalFeatureConfigurator.Configure();
|
||
|
AgGridReportModuleExtensionConfigurator.Configure();
|
||
|
}
|
||
|
|
||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||
|
{
|
||
|
Configure<AbpVirtualFileSystemOptions>(options =>
|
||
|
{
|
||
|
options.FileSets.AddEmbedded<AgGridReportDomainSharedModule>();
|
||
|
});
|
||
|
|
||
|
Configure<AbpLocalizationOptions>(options =>
|
||
|
{
|
||
|
options.Resources
|
||
|
.Add<AgGridReportResource>("en")
|
||
|
.AddBaseTypes(typeof(AbpValidationResource))
|
||
|
.AddVirtualJson("/Localization/AgGridReport");
|
||
|
|
||
|
options.DefaultResourceType = typeof(AgGridReportResource);
|
||
|
});
|
||
|
|
||
|
Configure<AbpExceptionLocalizationOptions>(options =>
|
||
|
{
|
||
|
options.MapCodeNamespace("AgGridReport", typeof(AgGridReportResource));
|
||
|
});
|
||
|
}
|
||
|
}
|