Exemplo n.º 1
0
 protected override object OnGet(Engine engine)
 {
     engine.SetReturnFrame();
     if (Body == null) return null;
     engine.ExecuteScript(Body, CodeTree);
     return engine.GetAndResetReturnValue();
 }
Exemplo n.º 2
0
 protected override object OnGet(Engine engine)
 {
     engine.SetReturnFrame();
     Body.Execute(engine);
     return engine.GetAndResetReturnValue();
 }