private ViewModelConnect AddConnect(ViewModelConnect parameter, ViewModelConnect result)
 {
     if (result == null)
     {
         return(parameter);
     }
     result.FromConnector.CommandAdd.Execute();
     Connects.Add(result);
     return(result);
 }
 private ViewModelConnect DeleteConnect(ViewModelConnect parameter, ViewModelConnect result)
 {
     Connects.Remove(parameter);
     parameter.FromConnector.CommandDelete.Execute();
     return(parameter);
 }
 private void AddFreeConnect(ViewModelConnector fromConnector)
 {
     DraggedConnect = new ViewModelConnect(fromConnector);
     Connects.Add(DraggedConnect);
 }