/
PickLocation's Call methods
PickLocation's Call methods
public static Location Call(Remotion.Web.ExecutionEngine.IWxePage currentPage, Remotion.Web.ExecutionEngine.IWxeCallArguments arguments) { PickLocationFunction function; if ((currentPage.IsReturningPostBack == false)) { function = new PickLocationFunction(); function.ExceptionHandler.SetCatchExceptionTypes(typeof(System.Exception)); currentPage.ExecuteFunction(function, arguments); throw new System.Exception("(Unreachable code)"); } else { function = ((PickLocationFunction)(currentPage.ReturningFunction)); if ((function.ExceptionHandler.Exception != null)) { throw function.ExceptionHandler.Exception; } return function.ReturnValue; } } public static Location Call(Remotion.Web.ExecutionEngine.IWxePage currentPage) { return PickLocation.Call(currentPage, Remotion.Web.ExecutionEngine.WxeCallArguments.Default); }