Example #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::TravelApp.Models.TravelPlan)newDataRoot;
         return(true);
     }
     return(false);
 }
Example #2
0
 private void Update__vm_SelectedTravelPlan(global::TravelApp.Models.TravelPlan obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update__vm_SelectedTravelPlan_Name(obj.Name, phase);
         }
     }
 }
Example #3
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::TravelApp.Models.TravelPlan obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_Name(obj.Name, phase);
             this.Update_M_ItemsCompletedString_757602046(phase);
             this.Update_M_TasksCompletedString_757602046(phase);
             this.Update_TotalLocationCount(obj.TotalLocationCount, phase);
         }
     }
     this.CompleteUpdate(phase);
 }
Example #4
0
 private void Update__vm_TravelPlan(global::TravelApp.Models.TravelPlan obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update__vm_TravelPlan_Name(obj.Name, phase);
         }
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update__vm_TravelPlan_Destination(obj.Destination, phase);
             this.Update__vm_TravelPlan_EndDate(obj.EndDate, phase);
             this.Update__vm_TravelPlan_StartDate(obj.StartDate, phase);
         }
     }
 }
Example #5
0
 private void Update__vm_SelectedItem(global::TravelApp.Models.TravelPlan obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update__vm_SelectedItem_Name(obj.Name, phase);
             this.Update__vm_SelectedItem_StartDate(obj.StartDate, phase);
             this.Update__vm_SelectedItem_EndDate(obj.EndDate, phase);
             this.Update__vm_SelectedItem_Destination(obj.Destination, phase);
         }
     }
     if ((phase & ((1 << 0) | NOT_PHASED | DATA_CHANGED)) != 0)
     {
         // Views\TravelPlanPage.xaml line 83
         if (!isobj4SelectedItemDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_Primitives_Selector_SelectedItem(this.obj4, obj, null);
         }
     }
 }