コード例 #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::LightFun.Scenes)newDataRoot;
         return(true);
     }
     return(false);
 }
コード例 #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::LightFun.Scenes obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_availableScenes(obj.availableScenes, phase);
             this.Update_availableColors(obj.availableColors, phase);
             this.Update_currentSceneConfig(obj.currentSceneConfig, phase);
             this.Update_availableLights(obj.availableLights, phase);
         }
     }
 }