Ejemplo n.º 1
0
 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
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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
 }