public static String Call(Remotion.Web.ExecutionEngine.IWxePage currentPage, Remotion.Web.ExecutionEngine.IWxeCallArguments arguments, String InArg, ref String InOutArg) { AutoPageFunction function; if ((currentPage.IsReturningPostBack == false)) { function = new AutoPageFunction(InArg, InOutArg); function.ExceptionHandler.SetCatchExceptionTypes(typeof(System.Exception)); currentPage.ExecuteFunction(function, arguments); throw new System.Exception("(Unreachable code)"); } else { function = ((AutoPageFunction)(currentPage.ReturningFunction)); if ((function.ExceptionHandler.Exception != null)) { throw function.ExceptionHandler.Exception; } InOutArg = function.InOutArg; return(function.OutArg); } }
public static string Call(Remotion.Web.ExecutionEngine.IWxePage currentPage, Remotion.Web.ExecutionEngine.IWxeCallArguments arguments, string input, List <System.Int32[, ][]> other, out string output, ref string bothways) { CalledPageFunction function; if ((currentPage.IsReturningPostBack == false)) { function = new CalledPageFunction(input, other, bothways); function.ExceptionHandler.SetCatchExceptionTypes(typeof(System.Exception)); currentPage.ExecuteFunction(function, arguments); throw new System.Exception("(Unreachable code)"); } else { function = ((CalledPageFunction)(currentPage.ReturningFunction)); if ((function.ExceptionHandler.Exception != null)) { throw function.ExceptionHandler.Exception; } output = function.output; bothways = function.bothways; return(function.ReturnValue); } }