mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-24 12:11:09 +01:00
20 lines
505 B
C#
20 lines
505 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 string UniqueIdentifier { get; set; }
|
|
public bool Enabled { get; set; } = true;
|
|
}
|
|
}
|