Change DisabledProgramSource class to inherit ProgramSource

This commit is contained in:
Jeremy Wu
2019-10-15 20:22:20 +11:00
parent 06c9ff49a0
commit 44c1c93e81

View File

@@ -33,14 +33,6 @@ namespace Wox.Plugin.Program
public string UniqueIdentifier { get; set; }
}
public class DisabledProgramSource
{
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; }
}
public class DisabledProgramSource : ProgramSource { }
}
}