Exemplo n.º 1
0
        public void Initialize(IUniNode node,
                               string input,
                               string output,
                               bool connect = true)
        {
            var ports = node.CreatePortPair(input, output, connect);

            inputPort  = ports.inputValue;
            outputPort = ports.outputValue;
        }
        public ConnectedFormatedPairCommand(
            IUniNode node,
            string input,
            bool connect = true)
        {
            var inputName  = input.GetFormatedPortName(PortIO.Input);
            var outputName = input.GetFormatedPortName(PortIO.Output);
            var ports      = node.CreatePortPair(inputName, outputName, connect);

            InputPort  = ports.inputValue;
            OutputPort = ports.outputValue;
        }