mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
28 lines
792 B
28 lines
792 B
using Blazorise;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.AspNetCore.Components.WebAssembly;
|
|
using Volo.Abp.Modularity;
|
|
|
|
namespace Volo.Abp.BlazoriseUI
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpAspNetCoreComponentsWebAssemblyModule)
|
|
)]
|
|
public class AbpBlazoriseUIModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
ConfigureBlazorise(context);
|
|
}
|
|
|
|
private void ConfigureBlazorise(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.AddBlazorise(options =>
|
|
{
|
|
options.DelayTextOnKeyPress = true;
|
|
});
|
|
|
|
context.Services.AddSingleton(typeof(AbpBlazorMessageLocalizerHelper<>));
|
|
}
|
|
}
|
|
}
|
|
|