Interface ILocalizationEnumInterceptor
- Namespace
- MudBlazor
- Assembly
- MudBlazor.dll
Provides functionality to localize enumeration values. Users can register custom implementations using the syntax:
AddLocalizationEnumInterceptor<TInterceptor>(IServiceCollection, Func<IServiceProvider, TInterceptor>)AddLocalizationEnumInterceptor<TInterceptor>(IServiceCollection).public interface ILocalizationEnumInterceptor
- Extension Methods
Methods
Handle(Enum)
Localizes the specified enumeration value.
string Handle(Enum enumeration)
Parameters
enumeration
EnumThe enumeration value to be localized.
Returns
- string
The localized representation of the enumeration value.