public PartialBackgroudWorkerAsyncTask(PartialActivity viewActivity, Action invoke, Action before = null, Action after = null) { _activity = viewActivity; _invoke = invoke; _before = before; _after = after; }
public static string Dispatch(PartialActivity context, string url, string args) { if (_ViewKeys.Keys.Contains(url) == false) { return(string.Empty); } var view = GetInstance(url); if (view == null) { return(string.Empty); } view.PushRequest(context, args); return(view.GenerateString(args)); }
public void PushRequest(PartialActivity context, string args) => context.StackPush(Partial, args);
public PartialScript(PartialActivity activity, WebView brower) : base(activity, brower) { }
public void PushRequest(PartialActivity context, string args) { }
public PartialLoadingAsyncTask(PartialActivity viewActivity, PartialRequestContext context) : base(viewActivity) { _brower = _activity.PartialView; _context = context; }
public PartialBackgroudWorkerAsyncTask(PartialActivity viewActivity) { _activity = viewActivity; }