public static KillAllConnections ( ) : void | ||
Результат | void |
public void NavigateTo(string file) { var dialog = this; UrlConnection.KillAllConnections(); InvokeOnMainThread(() => { var controller = (JsonDialogViewController)Activator.CreateInstance(this.GetType(), file, true); dialog.NavigationController.PushViewController(controller, true); }); }
public void NavigateTo(string file, IDictionary <string, string> hiddenfields) { var dialog = this; UrlConnection.KillAllConnections(); InvokeOnMainThread(() => { var newcontroller = (JsonDialogViewController)Activator.CreateInstance(this.GetType(), file, true); foreach (var v in hiddenfields) { newcontroller.SetValue(v.Key, v.Value); } dialog.NavigationController.PushViewController(newcontroller, true); }); }