Skip to content

Index

NexusLabs.Needlr.Hosting Namespace

Classes
CreateHostOptions Represents options for creating a host application with logging configuration.
CreateHostOptionsExtensions Provides extension methods for configuring CreateHostOptions.
HostApplicationBuilderNeedlrExtensions Extension methods for integrating Needlr discovery into user-controlled Microsoft.Extensions.Hosting.HostApplicationBuilder instances. Use this when you want to maintain control over the host creation process while still benefiting from Needlr's automatic service discovery and plugin system.
HostApplicationBuilderPluginOptions Options passed to NexusLabs.Needlr.Hosting.IHostApplicationBuilderPlugin.Configure(NexusLabs.Needlr.Hosting.HostApplicationBuilderPluginOptions).
HostFactory Factory for creating Microsoft.Extensions.Hosting.IHost instances with Needlr configuration.
HostPluginOptions Options passed to NexusLabs.Needlr.Hosting.IHostPlugin.Configure(NexusLabs.Needlr.Hosting.HostPluginOptions).
HostSyringe Provides a fluent API for configuring and building host applications using Needlr. Wraps a ConfiguredSyringe with additional host functionality.
HostSyringeExtensions Extension methods for configuring HostSyringe instances. Provides only host-specific configuration methods.
IHostFactoryExtensions Extension methods for IHostFactory.
SyringeHostingExtensions Extension methods for configuring NexusLabs.Needlr.Injection.ConfiguredSyringe instances with generic host functionality.
Interfaces
IHostApplicationBuilderPlugin Plugin that configures the Microsoft.Extensions.Hosting.HostApplicationBuilder before the host is built. Analogous to IWebApplicationBuilderPlugin for web apps.
IHostFactory Factory interface for creating Microsoft.Extensions.Hosting.IHost instances with Needlr configuration.
IHostPlugin Plugin that configures the Microsoft.Extensions.Hosting.IHost after it's built but before it runs. Analogous to IWebApplicationPlugin for web apps.