Beispiel #1
0
        public static MathInstance CreateMathObject(Engine engine)
        {
            var math = new MathInstance(engine);

            math.Extensible = true;
            math.Prototype  = engine.Object.PrototypeObject;

            return(math);
        }
Beispiel #2
0
        public static MathInstance CreateMathObject(Engine engine)
        {
            var math = new MathInstance(engine);
            math.Extensible = true;
            math.Prototype = engine.Object.PrototypeObject;

            
            return math;
        }
Beispiel #3
0
        public static MathInstance CreateMathObject(Engine engine)
        {
            var math = new MathInstance(engine)
            {
                _prototype = engine.Object.PrototypeObject
            };

            return(math);
        }