using Microsoft.Extensions.DependencyInjection; namespace Radzen; /// /// Class with IServiceCollection extensions methods. /// public static class ServiceCollectionExtensions { /// /// Add Radzen Blazor components services /// /// Service collection /// The service collection for chaining. public static IServiceCollection AddRadzenComponents(this IServiceCollection services) { services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddScoped(); services.AddAIChatService(); return services; } }