static BinaryPersistors() { SimplePersistors[typeof(int)] = new Int32Persistor(); SimplePersistors[typeof(uint)] = new UInt32Persistor(); SimplePersistors[typeof(short)] = new Int16Persistor(); SimplePersistors[typeof(ushort)] = new UInt16Persistor(); SimplePersistors[typeof(byte)] = new BytePersistor(); SimplePersistors[typeof(sbyte)] = new SBytePersistor(); SimplePersistors[typeof(long)] = new Int64Persistor(); SimplePersistors[typeof(ulong)] = new UInt64Persistor(); SimplePersistors[typeof(float)] = new FloatPersistor(); SimplePersistors[typeof(double)] = new DoublePersistor(); SimplePersistors[typeof(string)] = new StringPersistor(); SimplePersistors[typeof(bool)] = new BoolPersistor(); }