Ejemplo n.º 1
0
        protected virtual void Process()
        {
            object d = null;

            if (ParentGraph != null)
            {
                d = ParentGraph.GetVar(varName);
            }

            output.Data = d;

            if (output.Data != null)
            {
                result = output.Data.ToString();
            }

            if (ParentGraph != null)
            {
                FunctionGraph g = (FunctionGraph)ParentGraph;

                if (g != null && g.OutputNode == this)
                {
                    g.Result = output.Data;
                }
            }
        }
Ejemplo n.º 2
0
        protected virtual void Process()
        {
            object d = null;

            if (ParentGraph != null)
            {
                d = ParentGraph.GetVar <object>(varName);
            }

            output.Data = d;
            output.Changed();

            if (ParentGraph != null)
            {
                FunctionGraph g = (FunctionGraph)ParentGraph;

                if (g != null && g.OutputNode == this)
                {
                    g.Result = output.Data;
                }
            }
        }