internal void AddToConfigCache(ConfBot config) { var name = config.Name; if (!string.IsNullOrEmpty(name) && !botConfCache.ContainsKey(name)) { botConfCache[name] = config; } }
private void InitializeBotConfig(ConfBot config) { Bot.Derive(config); config.Parent = this; }
private ConfBot InitializeBotConfig(ConfBot config) { Bot.Derive(config); config.Parent = this; return(config); }