c# - ScriptSharp: myObject.prototype = new myOtherObject; -



c# - ScriptSharp: myObject.prototype = new myOtherObject; -

how can reproduce in scriptsharp (c#):

myobject = function(input) { } myobject.prototype = new myotherobject;

when you're using script# you're using c# syntax create classes, derive classes etc.

so define class myobject , have derive other class myotherobject, , allow compiler , bootstrapper script (mscorlib.js) set inheritance @ runtime.

the whole point have natural oop syntax, rather work simulation manually chaining prototypes.

hope helps.

c# javascript asp.net script#

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -