|
|
|
|
@ -5,6 +5,7 @@ using Microsoft.Extensions.DependencyInjection;
|
|
|
|
|
using Microsoft.Extensions.Localization;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
using Microsoft.Extensions.Logging.Abstractions;
|
|
|
|
|
using Volo.Abp.AspNetCore.Components.Alerts;
|
|
|
|
|
using Volo.Abp.AspNetCore.Components.Messages;
|
|
|
|
|
using Volo.Abp.AspNetCore.Components.Notifications;
|
|
|
|
|
using Volo.Abp.Localization;
|
|
|
|
|
@ -61,6 +62,11 @@ namespace Volo.Abp.AspNetCore.Components
|
|
|
|
|
protected IUiNotificationService Notify => LazyGetNonScopedRequiredService(ref _notify);
|
|
|
|
|
private IUiNotificationService _notify;
|
|
|
|
|
|
|
|
|
|
protected IAlertManager AlertManager => LazyGetNonScopedRequiredService(ref _alertManager);
|
|
|
|
|
private IAlertManager _alertManager;
|
|
|
|
|
|
|
|
|
|
protected AlertList Alerts => AlertManager.Alerts;
|
|
|
|
|
|
|
|
|
|
protected IObjectMapper ObjectMapper
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
|