示例#1
0
        public void ExecuteSchedulerCommand(SchedulerCommand schedulerCommand)
        {
            var botReplies = GetBotRepliesOnSchedulerCommand(schedulerCommand);

            foreach (var reply in botReplies)
            {
                OnReply(reply);
            }
        }
示例#2
0
        private IEnumerable <BotReply> GetBotRepliesOnSchedulerCommand(SchedulerCommand schedulerCommand)
        {
            var result = schedulerManager.GetBotReply(schedulerCommand.CommandType);

            return(result);
        }