Ejemplo n.º 1
0
        protected FlowInput AddFlowInput(string name)
        {
            FlowInput input = new FlowInput(this, name);

            if (flowInputs == null)
            {
                flowInputs = new List <FlowInput>();
            }
            flowInputs.Add(input);
            return(input);
        }
Ejemplo n.º 2
0
 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;
     }
 }
Ejemplo n.º 3
0
 public FlowBinding(FlowOutput output, FlowInput input)
 {
     this.Output = output;
     this.Input  = input;
 }