コード例 #1
0
 protected void SetOwner(WireNode value)
 {
     if (value != null)
     {
         OwnerId = value.WireNodeId;
     }
 }
コード例 #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 WireNodeField(WireNode owner)
 {
     Owner    = owner;
     DataType = typeof(T);
 }
コード例 #4
0
 public InputWirePin(WireNode owner, WireDialog associatedDialog) : base(owner, associatedDialog)
 {
 }