internal void Load(Stream stream)
 {
     XmlSerializer serializer = new XmlSerializer(typeof(State));
     try
     {
         _state = (State)serializer.Deserialize(stream);
     }
     catch
     {
         // Failed to deserialize the stream. Using an empty state
     }
     InitializeLookupTables();
 }
 internal Persistency()
 {
     this._state = new State();
 }