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

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -