public void Remove(SpellHint hint) { if (!_hints.Contains(hint)) { throw new InvalidOperationException("Hints do not contain this hint!"); } _hints.Remove(hint); }
public void Add(SpellHint hint) { if (_hints.Contains(hint)) { throw new InvalidOperationException("Hints already contains this hint!"); } _hints.Add(hint); }
public bool Contains(SpellHint hint) { return(_hints.Contains(hint)); }