public BuiltInCommandMiddleware(CommandDispatchDelegate next, ICoconaHelpRenderer helpRenderer, ICoconaCommandHelpProvider commandHelpProvider, ICoconaCommandProvider commandProvider, ICoconaConsoleProvider console) : base(next) { _helpRenderer = helpRenderer; _commandHelpProvider = commandHelpProvider; _commandProvider = commandProvider; _console = console; }
public BuiltInCommandMiddleware(CommandDispatchDelegate next, ICoconaHelpRenderer helpRenderer, ICoconaCommandHelpProvider commandHelpProvider, ICoconaCommandProvider commandProvider, ICoconaConsoleProvider console, ICoconaAppContextAccessor appContext) : base(next) { _helpRenderer = helpRenderer; _commandHelpProvider = commandHelpProvider; _commandProvider = commandProvider; _console = console; _appContext = appContext; }
protected CommandDispatcherMiddleware(CommandDispatchDelegate next) { Next = next; }
public InitializeConsoleAppMiddleware(CommandDispatchDelegate next, ICoconaAppContextAccessor appContext, ILoggerFactory loggerFactory) : base(next) { _appContext = appContext ?? throw new ArgumentNullException(nameof(appContext)); _loggerFactory = loggerFactory ?? throw new ArgumentNullException(nameof(loggerFactory)); }
public CommandFilterMiddleware(CommandDispatchDelegate next, IServiceProvider serviceProvider) : base(next) { _serviceProvider = serviceProvider; }
public RejectUnknownOptionsMiddleware(CommandDispatchDelegate next, ICoconaConsoleProvider console) : base(next) { _console = console; }
public HandleParameterBindExceptionMiddleware(CommandDispatchDelegate next, ICoconaConsoleProvider console) : base(next) { _console = console; }
public CoconaCommandInvokeMiddleware(CommandDispatchDelegate next, ICoconaParameterBinder parameterBinder) : base(next) { _parameterBinder = parameterBinder; }
public Test4Middleware(CommandDispatchDelegate next, List <string> logger) : base(next, logger) { }
public Test2Middleware(CommandDispatchDelegate next, List <string> logger) : base(next) { _logger = logger; }