Example #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::FakeNew.Model.NewsItem)newDataRoot;
         return(true);
     }
     return(false);
 }
Example #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::FakeNew.Model.NewsItem obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_Image(obj.Image, phase);
             this.Update_Headline(obj.Headline, phase);
             this.Update_Subhead(obj.Subhead, phase);
             this.Update_DateLine(obj.DateLine, phase);
         }
     }
 }