Show / Hide Table of Contents

Class UiNotificationAlert

Inheritance
object
Microsoft.AspNetCore.Components.ComponentBase
UiNotificationAlert
Implements
Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.IDisposable
Inherited Members
Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSet()
Microsoft.AspNetCore.Components.ComponentBase.OnParametersSetAsync()
Microsoft.AspNetCore.Components.ComponentBase.StateHasChanged()
Microsoft.AspNetCore.Components.ComponentBase.ShouldRender()
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRender(bool)
Microsoft.AspNetCore.Components.ComponentBase.OnAfterRenderAsync(bool)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Action)
Microsoft.AspNetCore.Components.ComponentBase.InvokeAsync(System.Func<System.Threading.Tasks.Task>)
Microsoft.AspNetCore.Components.ComponentBase.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView)
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
Microsoft.AspNetCore.Components.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
Microsoft.AspNetCore.Components.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
Blazorise.Snackbar.SnackbarStack

StringLocalizerFactory

Declaration
[Inject]
protected IStringLocalizerFactory StringLocalizerFactory { get; set; }
Property Value
Type Description
Microsoft.Extensions.Localization.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
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder
Overrides
Microsoft.AspNetCore.Components.ComponentBase.BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.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
Blazorise.Snackbar.SnackbarColor

OnInitialized()

Declaration
protected override void OnInitialized()
Overrides
Microsoft.AspNetCore.Components.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
Blazorise.Snackbar.SnackbarClosedEventArgs eventArgs
Returns
Type Description
System.Threading.Tasks.Task

Implements

Microsoft.AspNetCore.Components.IComponent
Microsoft.AspNetCore.Components.IHandleEvent
Microsoft.AspNetCore.Components.IHandleAfterRender
System.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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft