Class that contains the Telerik service extensions.
Definition
Namespace:Microsoft.Extensions.DependencyInjection
Assembly:Telerik.Blazor.dll
Syntax:
C#
public static class ServiceCollectionExtensions
Inheritance: objectServiceCollectionExtensions
Methods
Registers the Telerik Blazor services. You must call it in the ConfigureServices method of the Startup class of your project.
C#
public static IServiceCollection AddTelerikBlazor(this IServiceCollection services)
The IServiceCollection argument the ConfigureServices method receives.
Returns:The updated IServiceCollection collection argument the ConfigureServices method receives.