Add initial disable program code

This commit is contained in:
Jeremy Wu
2019-09-08 22:18:55 +10:00
parent b540cc8ac4
commit 4a6242b3a0
5 changed files with 52 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
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;
}
}