Show / Hide Table of Contents

Class AbpUtilsService

Inheritance
System.Object
AbpUtilsService
Implements
IAbpUtilsService
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()
Namespace: Volo.Abp.AspNetCore.Components.WebAssembly.Theming
Assembly: Volo.Abp.AspNetCore.Components.WebAssembly.Theming.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
System.String tagName
System.String className
Returns
Type Description
System.Threading.Tasks.ValueTask

HasClassOnTagAsync(String, String)

Declaration
public ValueTask<bool> HasClassOnTagAsync(string tagName, string className)
Parameters
Type Name Description
System.String tagName
System.String className
Returns
Type Description
System.Threading.Tasks.ValueTask<System.Boolean>

RemoveClassFromTagAsync(String, String)

Declaration
public ValueTask RemoveClassFromTagAsync(string tagName, string className)
Parameters
Type Name Description
System.String tagName
System.String className
Returns
Type Description
System.Threading.Tasks.ValueTask

ReplaceLinkHrefByIdAsync(String, String)

Declaration
public ValueTask ReplaceLinkHrefByIdAsync(string linkId, string hrefValue)
Parameters
Type Name Description
System.String linkId
System.String hrefValue
Returns
Type Description
System.Threading.Tasks.ValueTask

Implements

IAbpUtilsService
ITransientDependency

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