Пример #1
0
        static void EvalInput(string[] words)
        {
            for (int i = 0; i < words.Length - 2; i++)
            {
                Dictionary dic = new Dictionary(words[i] + " " + words[i + 1], words[i + 2]);

                pool.Add(dic);
            }
        }
Пример #2
0
 internal void ClearHistorySettings()
 {
     lock (_mutex)
     {
         Settings.Setting.Default.ClearHistorySettings();
         foreach (var item in _instrumentSettingsPerTradeDayDict.Values)
         {
             item.Clear();
             _pool.Add(item);
         }
         _instrumentSettingsPerTradeDayDict.Clear();
     }
 }