public static Maybe <CommandRegistration> FindCommandByName(this ICommandTypesCatalog catalog, string name) => catalog.RegisteredCommands.FirstOrDefault(x => x.Name.Equals(name, StringComparison.OrdinalIgnoreCase));
public HelpInterceptorPipeline(ICommandTypesCatalog commandTypes) { _commandTypes = commandTypes; }
public RequestParser(ICommandTypesCatalog catalog, ILogger <RequestParser> logger) { _logger = Guard.NotNull(logger, nameof(logger)); _catalog = Guard.NotNull(catalog, nameof(catalog)); }