1 // -----------------------------------------------------------------------
2 // <copyright file="PithosSettingsData.cs" company="Microsoft">
3 // TODO: Update copyright text.
5 // -----------------------------------------------------------------------
7 namespace Pithos.Interfaces
10 using System.Collections.Generic;
15 /// TODO: Update summary.
17 public class PithosSettingsData:IPithosSettings
19 public string PithosPath { get; set; }
20 public string PithosSite { get; set; }
21 public string IconsPath { get; set; }
22 public string UserName { get; set; }
23 public string ApiKey { get; set; }
24 public AccountsCollection Accounts { get; set; }
25 public bool UseDefaultProxy { get; set; }
26 public bool UseManualProxy { get; set; }
27 public bool UseNoProxy { get; set; }
28 public string ProxyServer { get; set; }
29 public int ProxyPort { get; set; }
30 public string ProxyUsername { get; set; }
31 public string ProxyPassword { get; set; }
32 public bool ProxyAuthentication { get; set; }
33 public bool ExtensionsActivated { get; set; }
35 public PithosSettingsData()
39 public PithosSettingsData(IPithosSettings other)
41 PithosPath = other.PithosPath;
42 PithosSite = other.PithosSite;
43 IconsPath = other.IconsPath;
44 UserName = other.UserName;
45 ApiKey = other.ApiKey;
46 Accounts = other.Accounts;
47 UseDefaultProxy = other.UseDefaultProxy;
48 UseManualProxy = other.UseManualProxy;
49 UseNoProxy = other.UseNoProxy;
50 ProxyServer = other.ProxyServer;
51 ProxyPort = other.ProxyPort;
52 ProxyUsername = other.ProxyUsername;
53 ProxyPassword = other.ProxyPassword;
54 ProxyAuthentication = other.ProxyAuthentication;
55 ExtensionsActivated = other.ExtensionsActivated;
58 public virtual void Save()
63 public virtual void Reload()