예제 #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
파일: FNode.cs 프로젝트: pwdlugosz/Horse
 // Statics //
 public static FNode BuildParent(FNode L, CellFunction F)
 {
     FNode n = new FNodeResult(null, F);
     n.AddChildNode(L);
     return n;
 }