Class BlazoriseUiMessageService
Inheritance
System.Object
BlazoriseUiMessageService
Implements
IScopedDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Volo.Abp.BlazoriseUI.dll
Syntax
public class BlazoriseUiMessageService : IUiMessageService, IScopedDependency
Constructors
BlazoriseUiMessageService(IStringLocalizer<AbpUiResource>)
Declaration
public BlazoriseUiMessageService(IStringLocalizer<AbpUiResource> localizer)
Parameters
| Type |
Name |
Description |
| IStringLocalizer<AbpUiResource> |
localizer |
|
Properties
Logger
Declaration
public ILogger<BlazoriseUiMessageService> Logger { get; set; }
Property Value
Methods
ConfirmAsync(String, String, Action<UiMessageOptions>)
Declaration
public Task<bool> ConfirmAsync(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
| System.String |
title |
|
| System.Action<UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Boolean> |
|
CreateDefaultOptions()
Declaration
protected virtual UiMessageOptions CreateDefaultOptions()
Returns
ErrorAsync(String, String, Action<UiMessageOptions>)
Declaration
public Task ErrorAsync(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
| System.String |
title |
|
| System.Action<UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
InfoAsync(String, String, Action<UiMessageOptions>)
Declaration
public Task InfoAsync(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
| System.String |
title |
|
| System.Action<UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SuccessAsync(String, String, Action<UiMessageOptions>)
Declaration
public Task SuccessAsync(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
| System.String |
title |
|
| System.Action<UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
WarnAsync(String, String, Action<UiMessageOptions>)
Declaration
public Task WarnAsync(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| System.String |
message |
|
| System.String |
title |
|
| System.Action<UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Events
MessageReceived
An event raised after the message is received. Used to notify the message dialog.
Declaration
public event EventHandler<UiMessageEventArgs> MessageReceived
Event Type
Implements
IScopedDependency
Extension Methods