using Volo.Abp.Modularity; using Volo.Abp.Localization; using Win_in.Sfs.Scp.Management.Localization; using Volo.Abp.Localization.ExceptionHandling; using Volo.Abp.Validation; using Volo.Abp.Validation.Localization; using Volo.Abp.VirtualFileSystem; namespace Win_in.Sfs.Scp.Management { [DependsOn( typeof(AbpValidationModule) )] public class ManagementDomainSharedModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure(options => { options.FileSets.AddEmbedded(); }); Configure(options => { options.Resources .Add("en") .AddBaseTypes(typeof(AbpValidationResource)) .AddVirtualJson("/Localization/Management"); }); Configure(options => { options.MapCodeNamespace("Management", typeof(ManagementResource)); }); } } }