using System; using System.Collections.Generic; namespace Wox.Plugin.Program { [Serializable] public class ProgramSource { public string Location { get; set; } public string Type { get; set; } public int BonusPoints { get; set; } public bool Enabled { get; set; } // happlebao todo: temp hack for program suffixes public string[] Suffixes { get; set; } = {"bat", "appref-ms", "exe", "lnk"}; public const char SuffixSeperator = ';'; public int MaxDepth { get; set; } public Dictionary Meta { get; set; } public override string ToString() { return (Type ?? "") + ":" + Location ?? ""; } } }