// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; namespace Microsoft.Plugin.Program { public class ProgramPluginSettings { public DateTime LastIndexTime { get; set; } public List ProgramSources { get; set; } = new List(); public List DisabledProgramSources { get; set; } = new List(); public List ProgramSuffixes { get; set; } = new List() { "bat", "appref-ms", "exe", "lnk", "url" }; public bool EnableStartMenuSource { get; set; } = true; public bool EnableDesktopSource { get; set; } = true; public bool EnableRegistrySource { get; set; } = true; public bool EnablePathEnvironmentVariableSource { get; set; } = true; public double MinScoreThreshold { get; set; } = 0.75; internal const char SuffixSeparator = ';'; } }