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); } }
public static String Call(Remotion.Web.ExecutionEngine.IWxePage currentPage, Remotion.Web.ExecutionEngine.WxeUserControl currentUserControl, System.Web.UI.Control sender, String InArg, ref String InOutArg) { AutoUserControlFunction function; if ((currentPage.IsReturningPostBack == false)) { function = new AutoUserControlFunction(InArg, InOutArg); function.ExceptionHandler.SetCatchExceptionTypes(typeof(System.Exception)); Remotion.Web.ExecutionEngine.WxeUserControl actualUserControl; actualUserControl = ((Remotion.Web.ExecutionEngine.WxeUserControl)(currentPage.FindControl(currentUserControl.PermanentUniqueID))); actualUserControl.ExecuteFunction(function, sender, null); throw new System.Exception("(Unreachable code)"); } else { function = ((AutoUserControlFunction)(currentPage.ReturningFunction)); if ((function.ExceptionHandler.Exception != null)) { throw function.ExceptionHandler.Exception; } InOutArg = function.InOutArg; return(function.ReturnValue); } }
public static String Call(Remotion.Web.ExecutionEngine.IWxePage currentPage, String InArg, ref String InOutArg) { return(AutoPage.Call(currentPage, Remotion.Web.ExecutionEngine.WxeCallArguments.Default, InArg, ref InOutArg)); }
public static string Call(Remotion.Web.ExecutionEngine.IWxePage currentPage, string input, List <System.Int32[, ][]> other, out string output, ref string bothways) { return(CalledPage.Call(currentPage, Remotion.Web.ExecutionEngine.WxeCallArguments.Default, input, other, out output, ref bothways)); }