public ViewDataBindings(ViewModelBase viewModel, string idPrefix, IViewExtensionPoints rootViewExtensionPoints = null) { if (viewModel == null) { throw new ArgumentNullException("viewModel"); } this.rootViewExtensionPoints = rootViewExtensionPoints; this.viewModel = viewModel; this.idPrefix = idPrefix; // Note that on iOS we may use idPrefix only for connecting outlet names to vm property names; // The uiviews that have no outlets do not need a name or id; all info is in the Bind property }
public ViewDataBindings(View rootView, ViewModelBase viewModel, LayoutInflater layoutInflater, string idPrefix, IViewExtensionPoints viewExtensionPoints) { if (rootView == null) { throw new ArgumentNullException("rootView"); } if (viewModel == null) { throw new ArgumentNullException("viewModel"); } if (layoutInflater == null) { throw new ArgumentNullException("layoutInflater"); } this.rootView = rootView; this.rootViewExtensionPoints = viewExtensionPoints; this.viewModel = viewModel; this.layoutInflater = layoutInflater; this.idPrefix = idPrefix; }
public ViewDataBindings(View rootView, ViewModelBase viewModel, LayoutInflater layoutInflater, string idPrefix, IViewExtensionPoints viewExtensionPoints) { if (rootView == null) throw new ArgumentNullException("rootView"); if (viewModel == null) throw new ArgumentNullException("viewModel"); if (layoutInflater == null) throw new ArgumentNullException("layoutInflater"); this.rootView = rootView; this.rootViewExtensionPoints = viewExtensionPoints; this.viewModel = viewModel; this.layoutInflater = layoutInflater; this.idPrefix = idPrefix; }
public ViewDataBindings(ViewModelBase viewModel, string idPrefix, IViewExtensionPoints rootViewExtensionPoints = null) { if (viewModel == null) throw new ArgumentNullException("viewModel"); this.rootViewExtensionPoints = rootViewExtensionPoints; this.viewModel = viewModel; this.idPrefix = idPrefix; // Note that on iOS we may use idPrefix only for connecting outlet names to vm property names; // The uiviews that have no outlets do not need a name or id; all info is in the Bind property }