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