PowerToys/Wox.Infrastructure/Storage/UserSettings/ProgramSource.cs

21 lines
531 B
C#
Raw Normal View History

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