public Preferences(Properties properties, Properties userProperties = null)
 {
     _properties     = properties;
     _userProperties = userProperties ?? new Properties();
 }
 public void Refresh()
 {
     _properties     = loadProperties(_propertiesPath);
     _userProperties = loadProperties(_userPropertiesPath);
 }
 public void Reset()
 {
     _properties = new Properties();
 }