Esempio n. 1
0
 public BranchViewModel(GitLabWrapper gitLabWrapper, RepositoryViewModel repository, string branch)
 {
     this.gitLabWrapper = gitLabWrapper;
     Repository         = repository;
     Name = branch;
     ForceBuildCommand = DelegateCommandFactory.Create(ForceBuild, CanForceBuild);
 }
Esempio n. 2
0
 public BranchViewModel(GitLabWrapper gitLabWrapper, RepositoryViewModel repository, string branch)
 {
     this.gitLabWrapper = gitLabWrapper;
     Repository = repository;
     Name = branch;
     ForceBuildCommand = DelegateCommandFactory.Create(ForceBuild, CanForceBuild);
 }
Esempio n. 3
0
 protected bool Equals(RepositoryViewModel other)
 {
     return(this.Origin?.Id == other?.Origin?.Id && this.Upstream?.Id == other?.Upstream?.Id);
 }
Esempio n. 4
0
 protected bool Equals(RepositoryViewModel other)
 {
     return this.Origin?.Id == other?.Origin?.Id && this.Upstream?.Id == other?.Upstream?.Id;
 }