Interface IUiMessageService
Assembly: Volo.Abp.AspNetCore.Components.WebAssembly.dll
Syntax
public interface IUiMessageService
Methods
ConfirmAsync(String, String, Action<UiMessageOptions>)
Declaration
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> |
|
ErrorAsync(String, String, Action<UiMessageOptions>)
Declaration
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
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
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
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 |
|
Extension Methods