/// <summary> /// Remove the busy object from the list which has been stopped /// </summary> /// <param name="Obj"></param> void DeregisterBusyComponent(IServiceSystem Obj) { if (BusyComponents.Contains(Obj)) { BusyComponents.Remove(Obj); } }
/// <summary> /// Add the busy object to the list to stop it /// </summary> /// <param name="Obj"></param> void RegisterBusyComponent(IServiceSystem Obj) { if (!BusyComponents.Contains(Obj)) { BusyComponents.Add(Obj); } }