Class BlazoriseUiMessageService
Inheritance
object
BlazoriseUiMessageService
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.BlazoriseUI.dll
Syntax
[Dependency(ReplaceServices = true)]
public class BlazoriseUiMessageService : IUiMessageService, IScopedDependency
Constructors
BlazoriseUiMessageService(IStringLocalizer<AbpUiResource>)
Declaration
public BlazoriseUiMessageService(IStringLocalizer<AbpUiResource> localizer)
Parameters
| Type |
Name |
Description |
| Microsoft.Extensions.Localization.IStringLocalizer<T><AbpUiResource> |
localizer |
|
Properties
Logger
Declaration
public ILogger<BlazoriseUiMessageService> Logger { get; set; }
Property Value
Methods
Confirm(string, string, Action<UiMessageOptions>)
Declaration
public 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> |
|
CreateDefaultOptions()
Declaration
protected virtual UiMessageOptions CreateDefaultOptions()
Returns
Error(string, string, Action<UiMessageOptions>)
Declaration
public 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
public 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
public 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
public 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 |
|
Events
MessageReceived
Declaration
public event EventHandler<UiMessageEventArgs> MessageReceived
Event Type
Implements
Extension Methods