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