mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Update class to inherite from Settings.ProgramSource
This commit is contained in:
@@ -1,19 +1,5 @@
|
||||
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;
|
||||
}
|
||||
public class ProgramSource : Settings.ProgramSource { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user