Class CookieThemeServiceCollectionExtensions
Extension methods to register the CookieThemeService.
Inheritance
System.Object
CookieThemeServiceCollectionExtensions
Namespace: Radzen
Assembly: Radzen.Blazor.dll
Syntax
public static class CookieThemeServiceCollectionExtensions : object
Methods
AddRadzenCookieThemeService(IServiceCollection)
Adds the CookieThemeService to the service collection.
Declaration
public static IServiceCollection AddRadzenCookieThemeService(this IServiceCollection services)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services |
Returns
Type | Description |
---|---|
IServiceCollection |
AddRadzenCookieThemeService(IServiceCollection, Action<CookieThemeServiceOptions>)
Adds the CookieThemeService to the service collection with the specified configuration.
Declaration
public static IServiceCollection AddRadzenCookieThemeService(this IServiceCollection services, Action<CookieThemeServiceOptions> configure)
Parameters
Type | Name | Description |
---|---|---|
IServiceCollection | services | |
Action<CookieThemeServiceOptions> | configure |
Returns
Type | Description |
---|---|
IServiceCollection |