Show / Hide Table of Contents

Class BlazoriseUiMessageService

Inheritance
object
BlazoriseUiMessageService
Implements
IUiMessageService
IScopedDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BlazoriseUI
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
IStringLocalizer<AbpUiResource> localizer

Properties

Logger

Declaration
public ILogger<BlazoriseUiMessageService> Logger { get; set; }
Property Value
Type Description
ILogger<BlazoriseUiMessageService>

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
Action<UiMessageOptions> options
Returns
Type Description
Task<bool>

CreateDefaultOptions()

Declaration
protected virtual UiMessageOptions CreateDefaultOptions()
Returns
Type Description
UiMessageOptions

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
Action<UiMessageOptions> options
Returns
Type Description
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
Action<UiMessageOptions> options
Returns
Type Description
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
Action<UiMessageOptions> options
Returns
Type Description
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
Action<UiMessageOptions> options
Returns
Type Description
Task

Events

MessageReceived

Declaration
public event EventHandler<UiMessageEventArgs>? MessageReceived
Event Type
Type Description
EventHandler<UiMessageEventArgs>

Implements

IUiMessageService
IScopedDependency

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform