Path: redb-route/redb.Route.AzureServiceBus/Extensions/ServiceCollectionExtensions.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.AzureServiceBus/Extensions/ServiceCollectionExtensions.cs ---- using Microsoft.Extensions.DependencyInjection; namespace redb.Route.AzureServiceBus.Extensions; /// /// DI registration for the Azure Service Bus component. /// public static class ServiceCollectionExtensions { /// /// Registers as a singleton. /// Use with route.AddComponent<AzureServiceBusComponent>() or resolve from DI. /// public static IServiceCollection AddRedbRouteAzureServiceBus(this IServiceCollection services) { services.AddSingleton(); return services; } }