Exemple #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);
            }
        }
Exemple #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);
            }
        }
Exemple #3
0
 protected abstract bool CompatibleDiscriminator(ConnectableSlot slot);