Beispiel #1
0
 internal void _pipesMgr_Removing(IPipes sender, PipeCollectionEventArgs ea)
 {
     throw new NotImplementedException("The method or operation is not implemented.");
 }
Beispiel #2
0
 internal void _pipesMgr_Removed(IPipes sender, PipeCollectionEventArgs ea)
 {
     if (sender != null)
     {
         for (int i = 0; i < ea.Pipes.Length; i++)
         {
             ea.Pipes[i].StatusChanging -= new StatusChangeEventHandler<IPipe, PipeStatusChangeEventArgs>(pipe_StatusChanging);
             ea.Pipes[i].StatusChanged -= new StatusChangeEventHandler<IPipe, PipeStatusChangeEventArgs>(pipe_StatusChanged);
         }
         if (ea.Pipes.Length > 0)
         {
             PipeInstancesDeletedEventArgs arg = new PipeInstancesDeletedEventArgs(ea.Pipes);
             OnPipeInstancesDeleted(arg);
         }
     }
 }