RazorConsoleServiceCollectionExtensions
ClassExtension methods for registering Razor Console services to a service collection.
Namespace:
RazorConsole.CoreAssembly:
RazorConsole.CoreDefinition
public static class RazorConsoleServiceCollectionExtensionsMethods
3| Name | Type | Description |
|---|---|---|
AddRazorConsoleServices(IServiceCollection)() | IServiceCollection | Adds the default Razor Console services to the specified IServiceCollection. |
AddWidgetTranslator(IServiceCollection, IWidgetTranslator)() | IServiceCollection | Adds a custom IWidgetTranslator instance that runs before the built-in widget translation. |
AddWidgetTranslator<TTranslator>(IServiceCollection)() | IServiceCollection | Adds a custom IWidgetTranslator that runs before the built-in widget translation. |