public static FNode Generate(FNode Parent, Func<Cell[], Cell> Delegate, int Parameters, CellAffinity ReturnAffinity, string ToString) { CellFunction f = new CellFunction(ToString, Parameters, Delegate, ReturnAffinity, (x,y) => { return ToString; }); return new FNodeResult(Parent, f); }
public FNodeResult(FNode Parent, CellFunction Function) : base(Parent, FNodeAffinity.ResultNode) { this._Func = Function; }
// Statics // public static FNode BuildParent(FNode L, CellFunction F) { FNode n = new FNodeResult(null, F); n.AddChildNode(L); return n; }