using System.Collections.Generic; namespace Wox.Plugin.CMD { public class CMDHistory { public bool ReplaceWinR { get; set; } = true; public bool LeaveCmdOpen { get; set; } public Dictionary Count = new Dictionary(); public void AddCmdHistory(string cmdName) { if (Count.ContainsKey(cmdName)) { Count[cmdName] += 1; } else { Count.Add(cmdName, 1); } } } }