コード例 #1
0
 public BranchViewModel(GitLabWrapper gitLabWrapper, RepositoryViewModel repository, string branch)
 {
     this.gitLabWrapper = gitLabWrapper;
     Repository         = repository;
     Name = branch;
     ForceBuildCommand = DelegateCommandFactory.Create(ForceBuild, CanForceBuild);
 }
コード例 #2
0
ファイル: BranchViewModel.cs プロジェクト: Xarlot/DXVcs2Git
 public BranchViewModel(GitLabWrapper gitLabWrapper, RepositoryViewModel repository, string branch)
 {
     this.gitLabWrapper = gitLabWrapper;
     Repository = repository;
     Name = branch;
     ForceBuildCommand = DelegateCommandFactory.Create(ForceBuild, CanForceBuild);
 }
コード例 #3
0
 protected bool Equals(RepositoryViewModel other)
 {
     return(this.Origin?.Id == other?.Origin?.Id && this.Upstream?.Id == other?.Upstream?.Id);
 }
コード例 #4
0
 protected bool Equals(RepositoryViewModel other)
 {
     return this.Origin?.Id == other?.Origin?.Id && this.Upstream?.Id == other?.Upstream?.Id;
 }