Пример #1
0
        protected WireNode(WireDialog associatedDialog)
        {
            if (associatedDialog == null)
            {
                return;
            }

            Inputs     = new List <InputWirePin>();
            Outputs    = new List <OutputWirePin>();
            WireNodeId = associatedDialog.GetNextWireNodeId();
        }
Пример #2
0
        protected WirePin(WireNode owner, WireDialog associatedDialog)
        {
            SetOwner(owner);
            RefusedTypes     = new List <string>();
            RefusedNodes     = new List <string>();
            WirePinId        = associatedDialog.GetNextWirePinId();
            AssociatedDialog = associatedDialog;

            if (!AssociatedDialog.Pins.ContainsKey(WirePinId))
            {
                AssociatedDialog.Pins.Add(WirePinId, this);
            }
        }
Пример #3
0
 public InputWirePin(WireNode owner, WireDialog associatedDialog) : base(owner, associatedDialog)
 {
 }