mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
Change DisabledProgramSource class to inherit ProgramSource
This commit is contained in:
@@ -33,14 +33,6 @@ namespace Wox.Plugin.Program
|
|||||||
public string UniqueIdentifier { get; set; }
|
public string UniqueIdentifier { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DisabledProgramSource
|
public class DisabledProgramSource : 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;
|
|
||||||
public string UniqueIdentifier { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user