Beispiel #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::SyntaxError.V2.App.Views.AdminPage)newDataRoot;
         return(true);
     }
     return(false);
 }
Beispiel #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::SyntaxError.V2.App.Views.AdminPage obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_CurrentSologameChallenge(obj.CurrentSologameChallenge, phase);
             this.Update_CurrentSilhouetteChallenge(obj.CurrentSilhouetteChallenge, phase);
             this.Update_CurrentScreenshotChallenge(obj.CurrentScreenshotChallenge, phase);
             this.Update_CurrentQuizChallenge(obj.CurrentQuizChallenge, phase);
             this.Update_CurrentMusicChallenge(obj.CurrentMusicChallenge, phase);
             this.Update_CurrentMultipleChoiceChallenge(obj.CurrentMultipleChoiceChallenge, phase);
             this.Update_CurrentCrewChallenge(obj.CurrentCrewChallenge, phase);
             this.Update_CurrentAudienceChallenge(obj.CurrentAudienceChallenge, phase);
         }
     }
 }