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

20 lines
505 B
C#
Raw Normal View History

2019-09-08 20:18:55 +08:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wox.Plugin.Program.Views.Models
{
public class ProgramSource
{
private string name;
public string Location { get; set; }
public string Name { get => name ?? new DirectoryInfo(Location).Name; set => name = value; }
public string UniqueIdentifier { get; set; }
2019-09-08 20:18:55 +08:00
public bool Enabled { get; set; } = true;
}
}