using System.Collections.Generic; using System.IO; using System.Reflection; using Newtonsoft.Json; using Wox.Infrastructure.Storage; namespace Wox.Plugin.WebSearch { public class WebSearchStorage : JsonStrorage { [JsonProperty] public List WebSearches { get; set; } [JsonProperty] public bool EnableWebSearchSuggestion { get; set; } [JsonProperty] public string WebSearchSuggestionSource { get; set; } protected override string ConfigFolder { get { return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); } } protected override string ConfigName { get { return "setting"; } } } }