Table of Contents

Class SetCultureUIExtensions

Namespace
Arc4u.Blazor
Assembly
Arc4u.OAuth2.Blazor.dll

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

host WebAssemblyHost

The 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.