コード例 #1
0
        public bool Remove(HistoryStat <double> stat)
        {
            HistoryStat <double> removed;

            if (_statDict.TryRemove(stat.Name, out removed))
            {
                return(true);
            }
            return(false);
        }
コード例 #2
0
 public bool Contains(HistoryStat <double> stat)
 {
     return(this._statDict.ContainsKey(stat.Name));
 }
コード例 #3
0
 public void Add(HistoryStat <double> stat)
 {
     this._statDict.TryAdd(stat.Name, stat);
 }
コード例 #4
0
 public void Add(HistoryStat <decimal> stat)
 {
     _statDict.TryAdd(stat.Name, stat);
 }
コード例 #5
0
 public bool Contains(HistoryStat <decimal> stat)
 {
     return(_statDict.ContainsKey(stat.Name));
 }