2014-03-19 04:05:27 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2014-03-23 16:17:41 +08:00
|
|
|
|
namespace Wox.Infrastructure.Storage.UserSettings
|
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; }
|
|
|
|
|
public Dictionary<string, string> Meta { get; set; }
|
2014-03-19 20:16:20 +08:00
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return (this.Type ?? "") + ":" + this.Location ?? "";
|
|
|
|
|
}
|
2014-03-19 04:05:27 +08:00
|
|
|
|
}
|
|
|
|
|
}
|