public class SettingsTable : ISettingsTable
{
private readonly Dictionary<string, bool> myBools = new Dictionary<string, bool>();
private readonly HashSet<string> myEncryptedSettings = new HashSet<string>();
private readonly Dictionary<string, int> myInts = new Dictionary<string, int>();
private readonly Dictionary<string, string> myStrings = new Dictionary<string, string>();
protected Dictionary<string, bool> Bools { get { return myBools; } }
protected HashSet<string> EncryptedSettings { get { return myEncryptedSettings; } }
protected Dictionary<string, int> Ints { get { return myInts; } }
protected Dictionary<string, string> Strings { get { return myStrings; } }
public SettingsTable()
{
}
public SettingsTable( SettingsTable settings )
{
myBools.AddRange( settings.Bools );
myInts.AddRange( settings.Ints );
myStrings.AddRange( settings.Strings );
myEncryptedSettings.AddRange( settings.{caret}EncryptedSettings );
}