PowerToys/Plugins/Wox.Plugin.Program/ProgramSource.cs

23 lines
587 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
namespace Wox.Plugin.Program
{
[Serializable]
public class ProgramSource
{
public string Location { get; set; }
public string Type { get; set; }
2014-03-19 20:16:20 +08:00
public int BonusPoints { get; set; }
public bool Enabled { get; set; }
public string Suffixes { get; set; }
public int MaxDepth { get; set; }
public Dictionary<string, string> Meta { get; set; }
2014-03-19 20:16:20 +08:00
public override string ToString()
{
2016-01-07 05:34:42 +08:00
return (Type ?? "") + ":" + Location ?? "";
2014-03-19 20:16:20 +08:00
}
}
}