public Controler(IUserUI UI, IEnvelopeComparer comparer, ICommandArgumentsParser parser) { this.UI = UI; compareEnvelops = comparer; commandArgumentsParser = parser; logger.Info("Parser and comparer objects were created"); }
public CommandsHandler(ICommandMessageCleaner cleaner, ICommandParser commandParser, ICommandArgumentsParser argumentsParser, ICommandsLoader commandsLoader, ICommandMethodExecuter methodExecuter, ICommandMethodsParser methodParser, ICommandsConfiguration configuration, IWrongUsageHandler wrongUsageHandler) { _cleaner = cleaner; _commandParser = commandParser; _argumentsParser = argumentsParser; _methodExecuter = methodExecuter; _methodParser = methodParser; _configuration = configuration; _commandsLoader = commandsLoader; _wrongUsageHandler = wrongUsageHandler; Instance = this; }
public CommandArgumentsParserTest(CommandArgumentsParser parser) { this.parser = parser; }
public MethodExecuter(ICommandArgumentsParser argumentsParser, ICommandsConfiguration configuration, IWrongUsageHandler wrongUsageHandler) => (_argumentsParser, _configuration, _wrongUsageHandler) = (argumentsParser, configuration, wrongUsageHandler);