|
|
@ -1,5 +1,7 @@ |
|
|
using Blazorise; |
|
|
using Blazorise; |
|
|
|
|
|
using Microsoft.AspNetCore.Components; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
|
|
using Microsoft.Extensions.DependencyInjection.Extensions; |
|
|
using Volo.Abp.Application; |
|
|
using Volo.Abp.Application; |
|
|
using Volo.Abp.AspNetCore.Components.Web; |
|
|
using Volo.Abp.AspNetCore.Components.Web; |
|
|
using Volo.Abp.Authorization; |
|
|
using Volo.Abp.Authorization; |
|
|
@ -11,7 +13,7 @@ namespace Volo.Abp.BlazoriseUI; |
|
|
typeof(AbpAspNetCoreComponentsWebModule), |
|
|
typeof(AbpAspNetCoreComponentsWebModule), |
|
|
typeof(AbpDddApplicationContractsModule), |
|
|
typeof(AbpDddApplicationContractsModule), |
|
|
typeof(AbpAuthorizationModule) |
|
|
typeof(AbpAuthorizationModule) |
|
|
)] |
|
|
)] |
|
|
public class AbpBlazoriseUIModule : AbpModule |
|
|
public class AbpBlazoriseUIModule : AbpModule |
|
|
{ |
|
|
{ |
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
@ -27,6 +29,7 @@ public class AbpBlazoriseUIModule : AbpModule |
|
|
options.DebounceInterval = 800; |
|
|
options.DebounceInterval = 800; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
context.Services.Replace(ServiceDescriptor.Scoped<IComponentActivator, ComponentActivator>()); |
|
|
context.Services.AddSingleton(typeof(AbpBlazorMessageLocalizerHelper<>)); |
|
|
context.Services.AddSingleton(typeof(AbpBlazorMessageLocalizerHelper<>)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |