GeoBlazor Pro
layout: pro title: DependencyExtension parent: Pro Classes grand_parent: GeoBlazor Pro —
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro
DependencyExtension Class
Convenience methods for registering GeoBlazor components in Dependency Injection.
public static class DependencyExtension
Inheritance System.Object 🡒 DependencyExtension
Methods
DependencyExtension.AddGeoBlazorPro(this IServiceCollection, IConfiguration) Method
Call builder.Services.AddGeoBlazorPro(builder.Configuration)
to include.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddGeoBlazorPro(this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Microsoft.Extensions.Configuration.IConfiguration configuration);
Parameters
serviceCollection
Microsoft.Extensions.DependencyInjection.IServiceCollection
configuration
Microsoft.Extensions.Configuration.IConfiguration