public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::PokemonClient.Models.Pokemon)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::PokemonClient.Models.Pokemon obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_Name(obj.Name, phase); } } }
private void Update_View(global::PokemonClient.Models.Pokemon obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.Update_View_Name(obj.Name, phase); this.Update_View_Number(obj.Number, phase); this.Update_View_Description(obj.Description, phase); this.Update_View_TypesID(obj.TypesID, phase); this.Update_View_RouteID(obj.RouteID, phase); } } }