Esempio n. 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::Assignment2_UWP.Entity.Song)newDataRoot;
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::Assignment2_UWP.Entity.Song obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_name(obj.name, phase);
             this.Update_singer(obj.singer, phase);
             this.Update_author(obj.author, phase);
             this.Update_thumbnail(obj.thumbnail, phase);
         }
     }
 }