Exemplo n.º 1
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 3:     // MainPage.xaml line 23
                    this.obj3 = (global::Windows.UI.Xaml.Controls.ListView)target;
                    this.bindingsTracking.RegisterTwoWayListener_3(this.obj3);
                    break;

                case 4:     // MainPage.xaml line 28
                    this.obj4 = (global::FriendEditor.Controls.FriendDetailControl)target;
                    break;

                case 5:     // MainPage.xaml line 33
                    this.obj5      = (global::Windows.UI.Xaml.Controls.Button)target;
                    this.obj5Click = (global::System.Object p0, global::Windows.UI.Xaml.RoutedEventArgs p1) =>
                    {
                        this.dataRoot.ViewModel.DeleteFriend();
                    };
                    ((global::Windows.UI.Xaml.Controls.Button)target).Click += obj5Click;
                    break;

                default:
                    break;
                }
            }
Exemplo n.º 2
0
 public static void Set_FriendEditor_Controls_FriendDetailControl_Friend(global::FriendEditor.Controls.FriendDetailControl obj, global::FriendEditor.Model.Friend value, string targetNullValue)
 {
     if (value == null && targetNullValue != null)
     {
         value = (global::FriendEditor.Model.Friend)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::FriendEditor.Model.Friend), targetNullValue);
     }
     obj.Friend = value;
 }
Exemplo n.º 3
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     this.bindingsTracking.ReleaseAllListeners();
     if (newDataRoot != null)
     {
         this.dataRoot = (global::FriendEditor.Controls.FriendDetailControl)newDataRoot;
         return(true);
     }
     return(false);
 }
Exemplo n.º 4
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::FriendEditor.Controls.FriendDetailControl obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.Update_Friend(obj.Friend, phase);
             this.Update_M_GetDeveloperBrush_2513012212(phase);
         }
     }
     else
     {
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.UpdateFallback_Friend(phase);
         }
         if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0)
         {
             this.UpdateFallback_M_GetDeveloperBrush_2513012212(phase);
         }
     }
     this.CompleteUpdate(phase);
 }
Exemplo n.º 5
0
 private bool TryGet_(out global::FriendEditor.Controls.FriendDetailControl val)
 {
     val = this.dataRoot;
     return(true);
 }