Пример #1
0
 protected override object OnGet(Engine engine)
 {
     engine.SetReturnFrame();
     if (Body == null) return null;
     engine.ExecuteScript(Body, CodeTree);
     return engine.GetAndResetReturnValue();
 }
Пример #2
0
 protected override object OnGet(Engine engine)
 {
     engine.SetReturnFrame();
     Body.Execute(engine);
     return engine.GetAndResetReturnValue();
 }