Class SimpleUiMessageService
Inheritance
System.Object
SimpleUiMessageService
Implements
ITransientDependency
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.AspNetCore.Components.WebAssembly.dll
Syntax
public class SimpleUiMessageService : IUiMessageService, ITransientDependency
Constructors
SimpleUiMessageService(IJSRuntime)
Declaration
public SimpleUiMessageService(IJSRuntime jsRuntime)
Parameters
| Type |
Name |
Description |
| IJSRuntime |
jsRuntime |
|
Properties
JsRuntime
Declaration
protected IJSRuntime JsRuntime { get; }
Property Value
| Type |
Description |
| IJSRuntime |
|
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> |
|
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 |
|
Implements
ITransientDependency
Extension Methods