コード例 #1
0
 public Alquiler(AlquilerModel alquiler = null)
 {
     InitializeComponent();
     if (alquiler == null)
     {
         BindingContext = new AlquilerViewModel(Navigation);
     }
     else
     {
         BindingContext = new AlquilerViewModel(Navigation, alquiler);
     }
 }
コード例 #2
0
 public AlquilerViewModel(INavigation navigation, AlquilerModel amigo)
 {
     nuevo      = amigo;
     Navigation = navigation;
 }
コード例 #3
0
 public AlquilerViewModel(INavigation navigation)
 {
     nuevo      = new AlquilerModel();
     Navigation = navigation;
 }