Ejemplo n.º 1
0
        public void AttachSuccess(ConnectableSlot slot, bool otherAlreadyNotified = false)
        {
            if (OnAttachSuccess != null)
            {
                OnAttachSuccess.Invoke(slot, this);
            }

            if (!otherAlreadyNotified && slot != null)
            {
                slot.AttachSuccess(this, true);
            }
        }
Ejemplo n.º 2
0
        public void BadAttach(ConnectableSlot slot, bool otherAlreadyNotified = false)
        {
            if (OnBadAttach != null)
            {
                OnBadAttach.Invoke(slot, this);
            }

            if (!otherAlreadyNotified && slot != null)
            {
                slot.BadAttach(this, true);
            }
        }
Ejemplo n.º 3
0
 protected abstract bool CompatibleDiscriminator(ConnectableSlot slot);