private void LoadConfig() { if (nullRun) { nullRun = false; return; } if (enumerator.MoveNext()) { string content = ResourceWraper.LoadText(enumerator.Current.Key); if (string.IsNullOrEmpty(content)) { return; } try { enumerator.Current.Value(content); } catch (System.Exception e) { GlobalLog.LogError(enumerator.Current.Key + " Error " + e.Message); } } else { CustomerUpdate.Instance.RemoveUpdate(LoadConfig); } }