Show / Hide Table of Contents

Class AbpUtilsService

Inheritance
object
AbpUtilsService
Implements
IAbpUtilsService
ITransientDependency
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.AspNetCore.Components.Web
Assembly: Volo.Abp.AspNetCore.Components.Web.dll
Syntax
public class AbpUtilsService : IAbpUtilsService, ITransientDependency

Constructors

AbpUtilsService(IJSRuntime)

Declaration
public AbpUtilsService(IJSRuntime jsRuntime)
Parameters
Type Name Description
IJSRuntime jsRuntime

Properties

JsRuntime

Declaration
protected IJSRuntime JsRuntime { get; }
Property Value
Type Description
IJSRuntime

Methods

AddClassToTagAsync(string, string)

Declaration
public ValueTask AddClassToTagAsync(string tagName, string className)
Parameters
Type Name Description
string tagName
string className
Returns
Type Description
ValueTask

ExitFullscreenAsync()

Declaration
public ValueTask ExitFullscreenAsync()
Returns
Type Description
ValueTask

HasClassOnTagAsync(string, string)

Declaration
public ValueTask<bool> HasClassOnTagAsync(string tagName, string className)
Parameters
Type Name Description
string tagName
string className
Returns
Type Description
ValueTask<bool>

RemoveClassFromTagAsync(string, string)

Declaration
public ValueTask RemoveClassFromTagAsync(string tagName, string className)
Parameters
Type Name Description
string tagName
string className
Returns
Type Description
ValueTask

ReplaceLinkHrefByIdAsync(string, string)

Declaration
public ValueTask ReplaceLinkHrefByIdAsync(string linkId, string hrefValue)
Parameters
Type Name Description
string linkId
string hrefValue
Returns
Type Description
ValueTask

RequestFullscreenAsync()

Declaration
public ValueTask RequestFullscreenAsync()
Returns
Type Description
ValueTask

ToggleFullscreenAsync()

Declaration
public ValueTask ToggleFullscreenAsync()
Returns
Type Description
ValueTask

Implements

IAbpUtilsService
ITransientDependency

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