From 37280f45d2f5c159fd9391383ecb23f404957ea2 Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 1 Feb 2016 14:58:55 -0500 Subject: [PATCH] Added remove function --- ssc/symbol.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ssc/symbol.cs b/ssc/symbol.cs index edf11d8..92af0bd 100644 --- a/ssc/symbol.cs +++ b/ssc/symbol.cs @@ -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(); }