public static void RemoveController(IPersistedController c) { if (ContainsController(c.GetType())) { _controllers.Remove(c.GetType()); } }
public static void AddController(IPersistedController c) { // Only allow one object of each type if (!ContainsController(c.GetType())) { _controllers.Add(c.GetType(), c); } }