Jurassic.Library.ClrStubFunction.ClrStubFunction C# (CSharp) Méthode

ClrStubFunction() private méthode

Creates a new constructor function.
private ClrStubFunction ( ObjectInstance prototype, Func construct, Func call ) : System
prototype ObjectInstance The next object in the prototype chain.
construct Func The delegate to call when calling the JS method as a constructor.
call Func The delegate to call when function is called.
Résultat System
        internal ClrStubFunction(ObjectInstance prototype,
            Func<ScriptEngine, object, object[], ObjectInstance> construct,
            Func<ScriptEngine, object, object[], object> call)
            : base(prototype)
        {
            this.callBinder = call;
            this.constructBinder = construct;
        }

Same methods

ClrStubFunction::ClrStubFunction ( ObjectInstance prototype, Func call ) : System
ClrStubFunction::ClrStubFunction ( ObjectInstance prototype, string name, int length, Func call ) : System
ClrStubFunction::ClrStubFunction ( ObjectInstance prototype, string name, int length, ObjectInstance instancePrototype, Func construct, Func call ) : System