public bool Remove(HistoryStat <double> stat) { HistoryStat <double> removed; if (_statDict.TryRemove(stat.Name, out removed)) { return(true); } return(false); }
public bool Contains(HistoryStat <double> stat) { return(this._statDict.ContainsKey(stat.Name)); }
public void Add(HistoryStat <double> stat) { this._statDict.TryAdd(stat.Name, stat); }
public void Add(HistoryStat <decimal> stat) { _statDict.TryAdd(stat.Name, stat); }
public bool Contains(HistoryStat <decimal> stat) { return(_statDict.ContainsKey(stat.Name)); }