public static void Reload() { _Current = Load <SystemCodes>("SystemCodes.xml"); if (_Current == null) { _Current = new SystemCodes(); } else { ResetCodes(); } }
public static void Clear() { lock (_LoadLock) { if (_Current != null) { _Current.Items.Clear(); _Codes = null; _Current = null; } } }