Class SetCultureUIExtensions
Provides extension methods for setting the default culture.
public static class SetCultureUIExtensions
- Inheritance
-
SetCultureUIExtensions
- Inherited Members
Methods
SetDefaultCulture(WebAssemblyHost)
Sets the default culture for the application from local storage.
public static Task SetDefaultCulture(this WebAssemblyHost host)
Parameters
hostWebAssemblyHostThe WebAssemblyHost instance on which to set the default culture.
Returns
- Task
A Task that represents the asynchronous operation.
Remarks
If no culture is found in local storage or an error occurs, this method will fail silently.