public static void AddUpdateCatcher(IUpdateCatcher updateCatcher) { if (_updateCatchers.Contains(updateCatcher)) { return; } _updateCatchers.Add(updateCatcher); }
public static void RemoveUpdateCatcher(IUpdateCatcher updateCatcher) { if (_updateInProgress) { _updateCatchersToDelete.Add(updateCatcher); return; } _updateCatchers.Remove(updateCatcher); }