public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::FlightAppEliasGryp.Models.Location)newDataRoot; return(true); } return(false); }
private void Update_Location(global::FlightAppEliasGryp.Models.Location obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_Location_Airport(obj.Airport, phase); this.Update_Location_Type(obj.Type, phase); this.Update_Location_City(obj.City, phase); this.Update_Location_Country(obj.Country, phase); } } }
// Update methods for each path node used in binding steps. private void Update_(global::FlightAppEliasGryp.Models.Location obj, int phase) { if ((phase & ((1 << 0) | NOT_PHASED)) != 0) { // Views\Flight\Map\LocationMarker.xaml line 27 if (!isobj4LocationDisabled) { if ((this.obj4.Target as global::FlightAppEliasGryp.Views.Flight.LocationCard) != null) { XamlBindingSetters.Set_FlightAppEliasGryp_Views_Flight_LocationCard_Location((this.obj4.Target as global::FlightAppEliasGryp.Views.Flight.LocationCard), obj, null); } } } }
private void Update_Location(global::FlightAppEliasGryp.Models.Location obj, int phase) { if ((phase & ((1 << 0) | NOT_PHASED)) != 0) { // Views\Flight\LocationCard.xaml line 17 if (!isobj2LocationDisabled) { XamlBindingSetters.Set_FlightAppEliasGryp_Views_Flight_AirportCard_Location(this.obj2, obj, null); } // Views\Flight\LocationCard.xaml line 18 if (!isobj3LocationDisabled) { XamlBindingSetters.Set_FlightAppEliasGryp_Views_Flight_WeatherForecastControl_Location(this.obj3, obj, null); } } }
public static void Set_FlightAppEliasGryp_Views_Flight_WeatherForecastControl_Location(global::FlightAppEliasGryp.Views.Flight.WeatherForecastControl 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; }