Class ServiceExtensionController
This class includes methods for setting up dependency injection, endpoint registration, and anti-forgery token validation.
Inherited Members
Namespace: Syncfusion.Blazor.SmartComponents
Assembly: Syncfusion.Blazor.SmartComponents.dll
Syntax
public static class ServiceExtensionController
Methods
AddSyncfusionSmartComponents(IServiceCollection)
Registers Syncfusion smart components and their dependencies into the IServiceCollection. This method sets up required services and components for the smart components to function correctly.
Declaration
public static ISmartComponentsBuilder AddSyncfusionSmartComponents(this IServiceCollection services)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceCollection | services |
Returns
| Type |
|---|
| ISmartComponentsBuilder |