Esempio n. 1
0
        public override void RegisterPort()
        {
            base.RegisterPort();
            var obj = AddValueInPort("Obj");

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