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