protected FlowInput AddFlowInput(string name) { FlowInput input = new FlowInput(this, name); if (flowInputs == null) { flowInputs = new List <FlowInput>(); } flowInputs.Add(input); return(input); }
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; } }
public FlowBinding(FlowOutput output, FlowInput input) { this.Output = output; this.Input = input; }