public PredsCommand(KhadgarBotViewModel khadgarBotViewModel) { _khadgarBotViewModel = khadgarBotViewModel; _predsTimer.Elapsed += onPredsTimerElapsed; _cooldownTimer = new Timer(_cooldownTimerValue); _cooldownTimer.Elapsed += onCooldownTimerElapsed; }
public HeroesInfoCommand(KhadgarBotViewModel khadgarBotViewModel) { _infoRequestList = new List <KeyValuePair <string, string> >(); _khadgarBotViewModel = khadgarBotViewModel; }
public KhadgarBotView() { InitializeComponent(); DataContext = new KhadgarBotViewModel(); }