public void BreakFlowPort(FlowOutput output) { if (output.LinkInput != null) { output.LinkInput = null; } }
protected override void RegisterPorts() { condition = AddValueInput <bool>("Condition"); trueOut = AddFlowOutput("True"); falseOut = AddFlowOutput("False"); AddFlowInput(FLOW_IN); }
protected FlowOutput AddFlowOutput(string name) { FlowOutput output = new FlowOutput(this, name); if (flowOutputs == null) { flowOutputs = new List <FlowOutput>(); } flowOutputs.Add(output); return(output); }
public static void Bind(FlowOutput output, FlowInput input) { if (output != null) { if (output.LinkInput != null) { //output.Input.Output = null; output.LinkInput = null; } } //if (input != null) //{ // if (input.Output != null) // { // input.Output.Input = null; // input.Output = null; // } //} if (output != null && input != null) { output.LinkInput = input; //input.Output = output; } }
protected override void RegisterPorts() { enterFlowOut = AddFlowOutput("Enter"); exitFlowOut = AddFlowOutput("Exit"); }
public FlowBinding(FlowOutput output, FlowInput input) { this.Output = output; this.Input = input; }
protected override void RegisterPorts() { flowOut = AddFlowOutput(FLOW_OUT); }
protected override void RegisterPorts() { stopFlowOut = AddFlowOutput("Stop"); }
protected override void RegisterPorts() { startFlowOut = AddFlowOutput("Start"); }