Пример #1
0
 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);
 }
Пример #2
0
 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);
 }
Пример #3
0
	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 );
	}
Пример #4
0
	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 );
	}