Show / Hide Table of Contents

Class BlazoriseUiMessageService

Inheritance
System.Object
BlazoriseUiMessageService
Implements
IUiMessageService
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()
Namespace: Volo.Abp.BlazoriseUI
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
Type Description
ILogger<BlazoriseUiMessageService>

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
Type Description
UiMessageOptions

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
Type Description
System.EventHandler<UiMessageEventArgs>

Implements

IUiMessageService
IScopedDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft