public MessageController(IInlineQueryHandler inlineQueryHandler, IKeyboards keyboards, ICommands commands) { this.inlineQueryHandler = inlineQueryHandler; this.commands = commands; this.keyboards = keyboards; }
public DisplayCurrenciesCommand(IKeyboards keyboards, ICurrenciesRepository repo) : base(keyboards, repo) { }
public PercentsCommand(IKeyboards keyboards, ICurrenciesRepository repo) : base(keyboards, repo) { }
public KeyboardController() { _keyboards = new DatabaseKeyboards(); }
public KeyboardController(IKeyboards <Model.Keyboard> keyboards) { _keyboards = keyboards; }
public StartCommand(IKeyboards keyboards, ICurrenciesRepository repo) : base(keyboards, repo) { }
public Command(IKeyboards keyboards, ICurrenciesRepository repo) { Keyboards = keyboards; Repo = repo; Client = Bot.GetClient(); }
public CalcCommand(IKeyboards keyboards, ICurrenciesRepository repo) : base(keyboards, repo) { charsToIgnore = $"/{Name.ToLower()}{Name.ToUpper()}".ToCharArray(); }
public PercentsWithSynonymsCommand(IKeyboards keyboards, ICurrenciesRepository repo) : base(keyboards, repo) { mainCommand = new PercentsCommand(keyboards, repo); }
public ValueCurrencyCommand(IKeyboards keyboards, ICurrenciesRepository repo) : base(keyboards, repo) { }