Show / Hide Table of Contents

Class AbpTagHelperLocalizer

Inheritance
object
AbpTagHelperLocalizer
Implements
IAbpTagHelperLocalizer
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.Mvc.UI.Bootstrap.TagHelpers
Assembly: Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.dll
Syntax
public class AbpTagHelperLocalizer : IAbpTagHelperLocalizer, ITransientDependency

Constructors

AbpTagHelperLocalizer(IOptions<AbpMvcDataAnnotationsLocalizationOptions>, IStringLocalizerFactory)

Declaration
public AbpTagHelperLocalizer(IOptions<AbpMvcDataAnnotationsLocalizationOptions> options, IStringLocalizerFactory stringLocalizerFactory)
Parameters
Type Name Description
IOptions<AbpMvcDataAnnotationsLocalizationOptions> options
IStringLocalizerFactory stringLocalizerFactory

Methods

GetLocalizedText(string, ModelExplorer)

Declaration
public string GetLocalizedText(string text, ModelExplorer explorer)
Parameters
Type Name Description
string text
ModelExplorer explorer
Returns
Type Description
string

GetLocalizerOrNull(ModelExplorer)

Declaration
public IStringLocalizer? GetLocalizerOrNull(ModelExplorer explorer)
Parameters
Type Name Description
ModelExplorer explorer
Returns
Type Description
IStringLocalizer

GetLocalizerOrNull(Assembly)

Declaration
public IStringLocalizer? GetLocalizerOrNull(Assembly assembly)
Parameters
Type Name Description
Assembly assembly
Returns
Type Description
IStringLocalizer

Implements

IAbpTagHelperLocalizer
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