HostBuilderExtension
ClassExtension methods for wiring Razor Console into generic host builders.
Namespace:
RazorConsole.CoreAssembly:
RazorConsole.CoreDefinition
public static class HostBuilderExtensionMethods
2| Name | Type | Description |
|---|---|---|
UseRazorConsole<TComponent>(IHostApplicationBuilder, Action<IHostApplicationBuilder>?)() | IHostApplicationBuilder | Adds Razor Console services to the specified IHostApplicationBuilder using the provided root component. |
UseRazorConsole<TComponent>(IHostBuilder, Action<IHostBuilder>?)() | IHostBuilder | Adds Razor Console services to the specified IHostBuilder using the provided root component. |