public void AddBaseValue(BaseObject baseValue) { if (BaseValues.ContainsKey(baseValue.Key)) { throw new MeException($"Duplicate base value {baseValue.Name}."); } BaseValues.Add(baseValue.Key, baseValue); }
public bool HasBaseValue(string key) { return(BaseValues.ContainsKey(key)); }