Beispiel #1
0
            // Update methods for each path node used in binding steps.
            private void Update_(global::Session2.Models.Ass1 obj, int phase)
            {
                Assignment1_obj4_Bindings bindings = this;

                if (obj != null)
                {
                    if ((phase & (NOT_PHASED | (1 << 0))) != 0)
                    {
                        this.Update_Email(obj.Email, phase);
                        this.Update_Title(obj.Title, phase);
                        this.Update_Description(obj.Description, phase);
                    }
                }
            }
Beispiel #2
0
 public global::Windows.UI.Xaml.Markup.IComponentConnector GetBindingConnector(int connectionId, object target)
 {
     global::Windows.UI.Xaml.Markup.IComponentConnector returnValue = null;
     switch (connectionId)
     {
     case 4: // Ass\Assignment1.xaml line 39
     {
         global::Windows.UI.Xaml.Controls.ListViewItem element4 = (global::Windows.UI.Xaml.Controls.ListViewItem)target;
         Assignment1_obj4_Bindings bindings = new Assignment1_obj4_Bindings();
         returnValue = bindings;
         bindings.SetDataRoot(element4.DataContext);
         element4.DataContextChanged += bindings.DataContextChangedHandler;
         global::Windows.UI.Xaml.DataTemplate.SetExtensionInstance(element4, bindings);
         global::Windows.UI.Xaml.Markup.XamlBindingHelper.SetDataTemplateComponent(element4, bindings);
     }
     break;
     }
     return(returnValue);
 }