protected WireNode(WireDialog associatedDialog) { if (associatedDialog == null) { return; } Inputs = new List <InputWirePin>(); Outputs = new List <OutputWirePin>(); WireNodeId = associatedDialog.GetNextWireNodeId(); }
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); } }
public InputWirePin(WireNode owner, WireDialog associatedDialog) : base(owner, associatedDialog) { }