2014-03-19 04:05:27 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2015-01-05 22:41:17 +08:00
|
|
|
|
namespace Wox.Plugin.Program
|
2014-03-19 04:05:27 +08:00
|
|
|
|
{
|
|
|
|
|
[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; }
|
2014-03-19 04:05:27 +08:00
|
|
|
|
public bool Enabled { get; set; }
|
2015-04-21 08:32:10 +08:00
|
|
|
|
public string Suffixes { get; set; }
|
|
|
|
|
public int MaxDepth { get; set; }
|
2014-03-19 04:05:27 +08:00
|
|
|
|
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
|
|
|
|
}
|
2014-03-19 04:05:27 +08:00
|
|
|
|
}
|
|
|
|
|
}
|