PenningtonTuiExtensions Pennington.Tui
Dependency injection extensions for the Pennington TUI dashboard.
Methods
AddPenningtonTui
#public static IServiceCollection AddPenningtonTui(this IServiceCollection services, Action<PenningtonTuiOptions>? configure = null);Register the dev-time TUI dashboard. When the host is launched in build mode (first command-line argument is build), the hosted service no-ops and the build runs exactly as without this package.
Parameters
servicesIServiceCollectionconfigureAction<PenningtonTuiOptions>? (optional)
Returns
IServiceCollectionPennington.Tui.PenningtonTuiExtensions
namespace Pennington.Tui;
/// Dependency injection extensions for the Pennington TUI dashboard.
public class PenningtonTuiExtensions
{
/// Register the dev-time TUI dashboard. When the host is launched in build mode (first command-line argument is build), the hosted service no-ops and the build runs exactly as without this package.
public static IServiceCollection AddPenningtonTui(this IServiceCollection services, Action<PenningtonTuiOptions>? configure = null);
}