[PTRun][Program]Apply settings from program json file (#19632)

Added setters to properties so that they can be overruled when already stored as json in the localappdata folder
This commit is contained in:
Yves-Laurent Creton 2022-07-27 12:33:44 +02:00 коммит произвёл GitHub
Родитель c8458dc059
Коммит 2979bfbc42
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -11,11 +11,11 @@ namespace Microsoft.Plugin.Program
{
public DateTime LastIndexTime { get; set; }
public List<ProgramSource> ProgramSources { get; } = new List<ProgramSource>();
public List<ProgramSource> ProgramSources { get; set; } = new List<ProgramSource>();
public List<DisabledProgramSource> DisabledProgramSources { get; } = new List<DisabledProgramSource>();
public List<DisabledProgramSource> DisabledProgramSources { get; set; } = new List<DisabledProgramSource>();
public List<string> ProgramSuffixes { get; } = new List<string>() { "bat", "appref-ms", "exe", "lnk", "url" };
public List<string> ProgramSuffixes { get; set; } = new List<string>() { "bat", "appref-ms", "exe", "lnk", "url" };
public bool EnableStartMenuSource { get; set; } = true;