Beispiel #1
0
        public void Disconnect(InputPort pIn)
        {
            var pOut = pIn.Connection;

            if (pOut != null)
            {
                pOut.RemoveConnection(pIn);
                pIn.Connection = null;
                LinkDestroyed?.Invoke(this, new LinkEventArgs(pIn, pOut));
            }
        }
 private void _screen_LinkDestroyed(object sender, LinkEventArgs e)
 {
     LinkDestroyed?.Invoke(this, e);
 }