Skip to content

MRoessler.BlazorBottomSheet.ServiceCollectionExtensions.AddBottomSheet(thisMicrosoft.Extensions.DependencyInjection.IServiceCollection,MRoessler.BlazorBottomSheet.BottomSheetServicesConfiguration)

github-actions[bot] edited this page Feb 28, 2026 · 1 revision

ServiceCollectionExtensions.AddBottomSheet(this IServiceCollection, BottomSheetServicesConfiguration) Method

Adds the BottomSheet services

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddBottomSheet(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, MRoessler.BlazorBottomSheet.BottomSheetServicesConfiguration? config=null);

Parameters

services Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add the service to.

config BottomSheetServicesConfiguration

Optional configuration

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection
A reference to this instance after the operation has completed.

Clone this wiki locally