Beispiel #1
0
 /// <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);
     }
 }
Beispiel #2
0
 /// <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);
     }
 }