public bool SetDataRoot(global::System.Object newDataRoot) { this.bindingsTracking.ReleaseAllListeners(); if (newDataRoot != null) { this.dataRoot = (global::SDKTemplate.Scenario1_DiscoverServer)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::SDKTemplate.Scenario1_DiscoverServer obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.Update_ResultCollection(obj.ResultCollection, phase); this.Update_ResultsListView(obj.ResultsListView, phase); } } else { if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.UpdateFallback_ResultsListView(phase); } } }