Esempio n. 1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::ASM.Entities.Song)newDataRoot;
         return(true);
     }
     return(false);
 }
Esempio n. 2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::ASM.Entities.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_photo_album(obj.photo_album, phase);
         }
     }
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // Views\Music.xaml line 27
         if ((this.obj5.Target as global::Windows.UI.Xaml.Controls.StackPanel) != null)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_FrameworkElement_Tag((this.obj5.Target as global::Windows.UI.Xaml.Controls.StackPanel), obj, null);
         }
     }
 }