예제 #1
0
        /// <summary>
        /// Adds the specified bot instance.
        /// </summary>
        /// <param name="botInstance">The bot instance.</param>
        public void Add(BotInstance botInstance)
        {
            if (Exists(botInstance.Settings.Id))
            {
                return;
            }

            bots.Add(botInstance);
        }
        /// <summary>
        /// Adds the specified bot instance.
        /// </summary>
        /// <param name="botInstance">The bot instance.</param>
        public void Add(BotInstance botInstance)
        {
            if (Exists(botInstance.Settings.Id)) return;

            bots.Add(botInstance);
        }