public override object Call(IObj that, object[] args) { Console.WriteLine("net.createServer() called."); Net.NetServer server = new Net.NetServer(( UserFunction )args[0], Context); Console.WriteLine(server); return(server); }
public IronJS.Object CreateServer(IronJS.Function callback) { Console.WriteLine("net.createServer() called."); Net.NetServer server = new Net.NetServer(callback, Env); Console.WriteLine(server); return(server); }
public IronJS.Object CreateServer( IronJS.Function callback ) { Console.WriteLine( "net.createServer() called." ); Net.NetServer server = new Net.NetServer( callback, Env ); Console.WriteLine( server ); return( server ); }
public override object Call( IObj that, object[] args ) { Console.WriteLine( "net.createServer() called." ); Net.NetServer server = new Net.NetServer( ( UserFunction )args[0], Context ); Console.WriteLine( server ); return( server ); }