Added remove function
This commit is contained in:
parent
e12607790f
commit
37280f45d2
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ namespace arookas {
|
|||
}
|
||||
mSymbols.Add(symbol);
|
||||
}
|
||||
public void Remove(sunSymbol symbol) {
|
||||
if (symbol == null) {
|
||||
throw new ArgumentNullException("symbol");
|
||||
}
|
||||
mSymbols.Remove(symbol);
|
||||
}
|
||||
public void Clear() {
|
||||
mSymbols.Clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue