Esempio n. 1
0

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