Example #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::FlightAppEliasGryp.Views.Flight.AirportCard)newDataRoot;
         return(true);
     }
     return(false);
 }
Example #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::FlightAppEliasGryp.Views.Flight.AirportCard obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_Location(obj.Location, phase);
         }
     }
 }
Example #3
0
            // IComponentConnector

            public void Connect(int connectionId, global::System.Object target)
            {
                switch (connectionId)
                {
                case 2:     // Views\Flight\LocationCard.xaml line 17
                    this.obj2 = (global::FlightAppEliasGryp.Views.Flight.AirportCard)target;
                    break;

                case 3:     // Views\Flight\LocationCard.xaml line 18
                    this.obj3 = (global::FlightAppEliasGryp.Views.Flight.WeatherForecastControl)target;
                    break;

                default:
                    break;
                }
            }
Example #4
0
 public static void Set_FlightAppEliasGryp_Views_Flight_AirportCard_Location(global::FlightAppEliasGryp.Views.Flight.AirportCard obj, global::FlightAppEliasGryp.Models.Location value, string targetNullValue)
 {
     if (value == null && targetNullValue != null)
     {
         value = (global::FlightAppEliasGryp.Models.Location)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::FlightAppEliasGryp.Models.Location), targetNullValue);
     }
     obj.Location = value;
 }