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