public static IMvxIosView CreateViewControllerFor <TTargetViewModel>(this IMvxCanCreateIosView view, object parameterObject) where TTargetViewModel : class, IMvxViewModel { return (view.CreateViewControllerFor <TTargetViewModel>(parameterObject?.ToSimplePropertyDictionary())); }
public static IMvxIosView CreateViewControllerFor <TTargetViewModel>( this IMvxCanCreateIosView view, IDictionary <string, string> parameterValues = null) where TTargetViewModel : class, IMvxViewModel { var parameterBundle = new MvxBundle(parameterValues); var request = new MvxViewModelRequest <TTargetViewModel>(parameterBundle, null); return(view.CreateViewControllerFor(request)); }