Пример #1
0
        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);

        }
Пример #2
0
 public FNodeResult(FNode Parent, CellFunction Function)
     : base(Parent, FNodeAffinity.ResultNode)
 {
     this._Func = Function;
 }
Пример #3
0
 // Statics //
 public static FNode BuildParent(FNode L, CellFunction F)
 {
     FNode n = new FNodeResult(null, F);
     n.AddChildNode(L);
     return n;
 }