Пример #1
0
 public ConsultationPage(Consultation model, ConsultationViewModel viewModel)
 {
     InitializeComponent();
     Model               = model;
     ViewModel           = viewModel;
     this.BindingContext = this;
 }
Пример #2
0
 public ConsultationsPage()
 {
     InitializeComponent();
     viewModel = new ConsultationViewModel()
     {
         Navigation = this.Navigation
     };
     BindingContext = viewModel;
 }