Allow users to have multiple configuration files

This commit is contained in:
Anton Kasyanov
2016-10-15 21:37:18 +03:00
parent 278ab21592
commit 5e87beadd1
7 changed files with 41 additions and 18 deletions

View File

@@ -5,13 +5,10 @@ using Newtonsoft.Json;
namespace EveOPreview.Configuration
{
public class ThumbnailConfig : IThumbnailConfig
class ThumbnailConfig : IThumbnailConfig
{
public ThumbnailConfig()
{
// Default values
this.ConfigFileName = null;
this.MinimizeToTray = false;
this.ThumbnailRefreshPeriod = 500;
@@ -43,9 +40,6 @@ namespace EveOPreview.Configuration
this.ClientHotkey = new Dictionary<string, string>();
}
[JsonIgnore]
public string ConfigFileName { get; set; }
public bool MinimizeToTray { get; set; }
public int ThumbnailRefreshPeriod { get; set; }