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