Example #1
0
 public void DisconnectPin(IPluginIO Pin)
 {
     //reset the cached reference to the upstream interface when the NodeInput is being disconnected
     if (Pin == FPinInConnection)
     {
         FConnectionObject = null;
     }
 }
Example #2
0
 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>;
     }
 }
Example #3
0
 public AbstractDatabaseNode()
 {
     this.FConnectionObject = this.CreateConnectionObject();
 }