public void Deserialize(SerializationManager manager) { UseAsyncMode = manager.GetCustomSetting("UseAsyncMode", false); PermaCacheType = (PermaCacheType)manager.GetCustomSetting("PermaCacheType", 0); PermaCacheRoot = manager.GetCustomSetting("PermaCacheRoot", Path.GetTempPath()); PermaCacheExpireInDays = manager.GetCustomSetting("PermaCacheExpire", 14); MemoryCacheMinimum = manager.GetCustomSetting("MemoryCacheMinimum", 100); MemoryCacheMaximum = manager.GetCustomSetting("MemoryCacheMaximum", 200); BingMapsToken = manager.GetCustomSetting("BingMapsToken", string.Empty); MaximumNumberOfThreads = manager.GetCustomSetting("MaximumNumberOfThreads", 4); }