Added remove function

This commit is contained in:
arookas 2016-02-01 14:58:55 -05:00
parent e12607790f
commit 37280f45d2

View file

@ -33,6 +33,12 @@ namespace arookas {
} }
mSymbols.Add(symbol); mSymbols.Add(symbol);
} }
public void Remove(sunSymbol symbol) {
if (symbol == null) {
throw new ArgumentNullException("symbol");
}
mSymbols.Remove(symbol);
}
public void Clear() { public void Clear() {
mSymbols.Clear(); mSymbols.Clear();
} }