Class QueryStringThemeService
Persist the current theme in the query string. Requires ThemeService to be registered in the DI container.
Inheritance
System.Object
QueryStringThemeService
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public class QueryStringThemeService : IDisposable
Constructors
QueryStringThemeService(NavigationManager, ThemeService, IOptions<QueryStringThemeServiceOptions>)
Initializes a new instance of the QueryStringThemeService class.
Declaration
public QueryStringThemeService(NavigationManager navigationManager, ThemeService themeService, IOptions<QueryStringThemeServiceOptions> options)
Parameters
Type | Name | Description |
---|---|---|
NavigationManager | navigationManager | |
ThemeService | themeService | |
IOptions<QueryStringThemeServiceOptions> | options |
Methods
Dispose()
Declaration
public void Dispose()