Example #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::ComedyKing.Model.CelebrityJoke)newDataRoot;
         return(true);
     }
     return(false);
 }
Example #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::ComedyKing.Model.CelebrityJoke obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_Text(obj.Text, phase);
             this.Update_CelebrityMentioned(obj.CelebrityMentioned, phase);
             this.Update_Author(obj.Author, phase);
             this.Update_Rate(obj.Rate, phase);
         }
     }
 }