public override void RegisterPort() { base.RegisterPort(); var obj = AddValueInPort("Obj"); trueFlow = this.AddFlowOut("True"); falseFlow = this.AddFlowOut("False"); this.AddFlowIn("In", () => { Invoke(obj); }); }
public void Link <T>(FlowOut outPort) where T : IFlowInNode { foreach (var node in _nodes) { if (node is T value) { Link(outPort, value.FlowIn); } } }
public void TriggerEvent(ExecutionContext context) { FlowOut.Execute(context); }