private EVariable Calc(EVariable a, EVariable b) { EVariable convA = a; EVariable convB = b; if (input.HasValue) { EType inputType = input.Value; convA = a.Convert(inputType); convB = b.Convert(inputType); } dynamic convC = calc(convA.Get(), convB.Get()); return(EVariable.New(output).Set(convC)); }
public override EVariable Solve(EVariable first, EVariable second) { return(first.Convert(second.GetEType())); }