public LinkHelper(PinHelper <T> from, PinHelper <T> to) { if (from == null) { throw new ArgumentNullException(nameof(from)); } if (to == null) { throw new ArgumentNullException(nameof(to)); } if (from.Type != to.Type) { throw new InvalidOperationException("Pin type mismatch (" + from.Type + ", " + to.Type + ")"); } From = from; To = to; }
public void Add(PinHelper <T> pin) { pin.Node = _node; _list.Add(pin); }
public LinksList(PinHelper <T> pin) { _pin = pin; }