コード例 #1
0
ファイル: Busy.g.cs プロジェクト: Vice93/MovieLibraryApp
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::MovieLibraryApp.Views.Busy)newDataRoot;
         return(true);
     }
     return(false);
 }
コード例 #2
0
ファイル: Busy.g.cs プロジェクト: Vice93/MovieLibraryApp
                public void DependencyPropertyChanged_IsBusy(global::Windows.UI.Xaml.DependencyObject sender, global::Windows.UI.Xaml.DependencyProperty prop)
                {
                    Busy_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        global::MovieLibraryApp.Views.Busy obj = sender as global::MovieLibraryApp.Views.Busy;
                        if (obj != null)
                        {
                            bindings.Update_IsBusy(obj.IsBusy, DATA_CHANGED);
                        }
                    }
                }
コード例 #3
0
ファイル: Busy.g.cs プロジェクト: Vice93/MovieLibraryApp
                public void UpdateChildListeners_(global::MovieLibraryApp.Views.Busy obj)
                {
                    Busy_obj1_Bindings bindings;

                    if (WeakRefToBindingObj.TryGetTarget(out bindings))
                    {
                        if (bindings.dataRoot != null)
                        {
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::MovieLibraryApp.Views.Busy.IsBusyProperty, tokenDPC_IsBusy);
                            bindings.dataRoot.UnregisterPropertyChangedCallback(global::MovieLibraryApp.Views.Busy.BusyTextProperty, tokenDPC_BusyText);
                        }
                        if (obj != null)
                        {
                            bindings.dataRoot = obj;
                            tokenDPC_IsBusy   = obj.RegisterPropertyChangedCallback(global::MovieLibraryApp.Views.Busy.IsBusyProperty, DependencyPropertyChanged_IsBusy);
                            tokenDPC_BusyText = obj.RegisterPropertyChangedCallback(global::MovieLibraryApp.Views.Busy.BusyTextProperty, DependencyPropertyChanged_BusyText);
                        }
                    }
                }
コード例 #4
0
ファイル: Busy.g.cs プロジェクト: Vice93/MovieLibraryApp
 // Update methods for each path node used in binding steps.
 private void Update_(global::MovieLibraryApp.Views.Busy obj, int phase)
 {
     this.bindingsTracking.UpdateChildListeners_(obj);
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_IsBusy(obj.IsBusy, phase);
             this.Update_BusyText(obj.BusyText, phase);
         }
     }
     else
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.UpdateFallback_BusyText(phase);
         }
     }
 }