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

19 lines
452 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 bool Enabled { get; set; } = true;
}
}