public void DisconnectPin(IPluginIO Pin) { //reset the cached reference to the upstream interface when the NodeInput is being disconnected if (Pin == FPinInConnection) { FConnectionObject = null; } }
public void ConnectPin(IPluginIO Pin) { //cache a reference to the upstream interface when the NodeInput pin is being connected if (Pin == FPinInConnection) { object usI; FPinInConnection.GetUpstreamInterface(out usI); FConnectionObject = usI as AbstractDbConnection <D>; } }
public AbstractDatabaseNode() { this.FConnectionObject = this.CreateConnectionObject(); }