HostBuilderExtension

Class

Extension methods for wiring Razor Console into generic host builders.

Namespace: RazorConsole.Core
Assembly: RazorConsole.Core

Definition

public static class HostBuilderExtension

Methods

2
NameTypeDescription
UseRazorConsole<TComponent>(IHostApplicationBuilder, Action<IHostApplicationBuilder>?)()IHostApplicationBuilderAdds Razor Console services to the specified IHostApplicationBuilder using the provided root component.
UseRazorConsole<TComponent>(IHostBuilder, Action<IHostBuilder>?)()IHostBuilderAdds Razor Console services to the specified IHostBuilder using the provided root component.