Show / Hide Table of Contents

Class UiNotificationAlert

Inheritance
object
ComponentBase
UiNotificationAlert
Implements
IComponent
IHandleEvent
IHandleAfterRender
IDisposable
Inherited Members
ComponentBase.OnInitializedAsync()
ComponentBase.OnParametersSet()
ComponentBase.OnParametersSetAsync()
ComponentBase.StateHasChanged()
ComponentBase.ShouldRender()
ComponentBase.OnAfterRender(bool)
ComponentBase.OnAfterRenderAsync(bool)
ComponentBase.InvokeAsync(Action)
ComponentBase.InvokeAsync(Func<Task>)
ComponentBase.DispatchExceptionAsync(Exception)
ComponentBase.SetParametersAsync(ParameterView)
ComponentBase.RendererInfo
ComponentBase.Assets
ComponentBase.AssignedRenderMode
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlazoriseUI.Components
Assembly: Volo.Abp.BlazoriseUI.dll
Syntax
public class UiNotificationAlert : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

Constructors

UiNotificationAlert()

Declaration
public UiNotificationAlert()

Properties

Closed

Declaration
[Parameter]
public EventCallback Closed { get; set; }
Property Value
Type Description
EventCallback

Message

Declaration
[Parameter]
public string Message { get; set; }
Property Value
Type Description
string

NotificationType

Declaration
[Parameter]
public UiNotificationType NotificationType { get; set; }
Property Value
Type Description
UiNotificationType

Okayed

Declaration
[Parameter]
public EventCallback Okayed { get; set; }
Property Value
Type Description
EventCallback

Options

Declaration
[Parameter]
public UiNotificationOptions? Options { get; set; }
Property Value
Type Description
UiNotificationOptions

SnackbarStack

Declaration
protected SnackbarStack SnackbarStack { get; set; }
Property Value
Type Description
SnackbarStack

StringLocalizerFactory

Declaration
[Inject]
protected IStringLocalizerFactory StringLocalizerFactory { get; set; }
Property Value
Type Description
IStringLocalizerFactory

Title

Declaration
[Parameter]
public string? Title { get; set; }
Property Value
Type Description
string

UiNotificationService

Declaration
[Inject]
protected BlazoriseUiNotificationService? UiNotificationService { get; set; }
Property Value
Type Description
BlazoriseUiNotificationService

Methods

BuildRenderTree(RenderTreeBuilder)

Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type Name Description
RenderTreeBuilder __builder
Overrides
ComponentBase.BuildRenderTree(RenderTreeBuilder)

Dispose()

Declaration
public virtual void Dispose()

GetSnackbarColor(UiNotificationType)

Declaration
protected virtual SnackbarColor GetSnackbarColor(UiNotificationType notificationType)
Parameters
Type Name Description
UiNotificationType notificationType
Returns
Type Description
SnackbarColor

OnInitialized()

Declaration
protected override void OnInitialized()
Overrides
ComponentBase.OnInitialized()

OnNotificationReceived(object?, UiNotificationEventArgs)

Declaration
protected virtual void OnNotificationReceived(object? sender, UiNotificationEventArgs e)
Parameters
Type Name Description
object sender
UiNotificationEventArgs e

OnSnackbarClosed(SnackbarClosedEventArgs)

Declaration
protected virtual Task OnSnackbarClosed(SnackbarClosedEventArgs eventArgs)
Parameters
Type Name Description
SnackbarClosedEventArgs eventArgs
Returns
Type Description
Task

Implements

IComponent
IHandleEvent
IHandleAfterRender
IDisposable

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform