Ejemplo n.º 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::ACC_Weather.Models.DailyForecast)newDataRoot;
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::ACC_Weather.Models.DailyForecast obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_Date(obj.Date, phase);
             this.Update_Day(obj.Day, phase);
             this.Update_Temperature(obj.Temperature, phase);
         }
     }
 }