Exemplo n.º 1
0
        public static EVariable Calc(ESOSimpleType type, EVariable a, EVariable b)
        {
            ESOSimpleTypeObject selected = dict[type];

            if (selected == null)
            {
                throw new ELangException("Invalid operation: " + type.ToString());
            }
            return(selected.Calc(a, b));
        }
Exemplo n.º 2
0
 public override EVariable Solve(EVariable first, EVariable second)
 {
     return(ESOSimpleTypeObject.Calc(type, first, second));
 }