2 using System.Collections.Generic;
3 using System.ComponentModel.Composition;
6 using Pithos.Client.Properties;
7 using Pithos.Interfaces;
9 namespace Pithos.Client
11 [Export(typeof(IPithosSettings))]
12 public class PithosSettings:IPithosSettings
14 public string PithosPath
16 get { return Settings.Default.PithosPath; }
17 set { Settings.Default.PithosPath=value; }
20 public string IconsPath
22 get { return Settings.Default.IconPath; }
23 set { Settings.Default.IconPath=value; }
26 public string UserName
28 get { return Settings.Default.UserName; }
29 set { Settings.Default.UserName=value; }
34 get { return Settings.Default.ApiKey; }
35 set { Settings.Default.ApiKey=value; }
40 Settings.Default.Save();
45 Settings.Default.Reload();