Interface IUiMessageService
Assembly: Volo.Abp.AspNetCore.Components.dll
Syntax
public interface IUiMessageService
Methods
Confirm(string, string, Action<UiMessageOptions>)
Declaration
Task<bool> Confirm(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| string |
message |
|
| string |
title |
|
| System.Action<T><UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<TResult><bool> |
|
Error(string, string, Action<UiMessageOptions>)
Declaration
Task Error(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| string |
message |
|
| string |
title |
|
| System.Action<T><UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Info(string, string, Action<UiMessageOptions>)
Declaration
Task Info(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| string |
message |
|
| string |
title |
|
| System.Action<T><UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Success(string, string, Action<UiMessageOptions>)
Declaration
Task Success(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| string |
message |
|
| string |
title |
|
| System.Action<T><UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Warn(string, string, Action<UiMessageOptions>)
Declaration
Task Warn(string message, string title = null, Action<UiMessageOptions> options = null)
Parameters
| Type |
Name |
Description |
| string |
message |
|
| string |
title |
|
| System.Action<T><UiMessageOptions> |
options |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Extension Methods