/// <summary> /// Add/update option in config /// </summary> /// <param name="key"></param> /// <param name="value"></param> public void SetConf(string key, string value) { // update remote _server.setConf(key, value); // update cache if (_entity.Config.ContainsKey(key)) { _entity.Config[key] = value; } else { _entity.Config.Add(key, value); } }