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; } } }
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; } } }