mirror of https://github.com/abpframework/abp
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.
31 lines
882 B
31 lines
882 B
using Volo.Abp.Autofac;
|
|
using Volo.Abp.Emailing.Localization;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.VirtualFileSystem;
|
|
|
|
namespace Volo.Abp.Emailing
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpEmailingModule),
|
|
typeof(AbpAutofacModule),
|
|
typeof(AbpTestBaseModule))]
|
|
public class AbpEmailingTestModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<VirtualFileSystemOptions>(options =>
|
|
{
|
|
options.FileSets.AddEmbedded<AbpEmailingTestModule>();
|
|
});
|
|
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Add<AbpEmailingTestResource>()
|
|
.AddVirtualJson("/Volo/Abp/Emailing/Localization");
|
|
});
|
|
|
|
}
|
|
}
|
|
} |