protected override string GetPersistString()
 {
     // Add extra information into the persist string for this document
     // so that it is available when deserialized.
     if (_settings == null)
     {
         return(GetType().ToString() + "$");
     }
     else
     {
         return(GetType().ToString() + "$" + _settings.Serialize());
     }
 }