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