mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-15 03:59:15 +08:00
19 lines
452 B
C#
19 lines
452 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|