Exemple #1
0
 public bool SetDataRoot(global::System.Object newDataRoot)
 {
     if (newDataRoot != null)
     {
         this.dataRoot = (global::ExGit.RepoModel)newDataRoot;
         return(true);
     }
     return(false);
 }
Exemple #2
0
 // Update methods for each path node used in binding steps.
 private void Update_(global::ExGit.RepoModel obj, int phase)
 {
     if (obj != null)
     {
         if ((phase & (NOT_PHASED | (1 << 0))) != 0)
         {
             this.Update_repoID(obj.repoID, phase);
             this.Update_name(obj.name, phase);
             this.Update_repourl(obj.repourl, phase);
             this.Update_WorkingDirectory(obj.WorkingDirectory, phase);
             this.Update_AutoTrack(obj.AutoTrack, phase);
             this.Update_EnableDesNot(obj.EnableDesNot, phase);
             this.Update_NotificationEmail(obj.NotificationEmail, phase);
             this.Update_CurrentBranch(obj.CurrentBranch, phase);
             this.Update_IsUntrackedRepo(obj.IsUntrackedRepo, phase);
             this.Update_CreatedAt(obj.CreatedAt, phase);
             this.Update_ModifiedAt(obj.ModifiedAt, phase);
             this.Update_RecentCheck(obj.RecentCheck, phase);
             this.Update_IsActive(obj.IsActive, phase);
         }
     }
 }