private ReleaseIssue MapIssue(GithubIssue issue, IList <string> packageTags) { return(new ReleaseIssue { Category = string.Join(", ", issue.Labels.Where(x => !packageTags.Contains(x.Name)).Select(y => FixTagName(y.Name)).ToArray()), Title = issue.Title, IssueId = issue.Id, IssueLinkUrl = issue.Html_Url, Number = issue.Number, User = MapUser(issue.User), State = issue.State }); }
private ReleaseIssue MapIssue(GithubIssue issue, IList<string> packageTags) { return new ReleaseIssue { Category = string.Join(", ", issue.Labels.Where(x => !packageTags.Contains(x.Name)).Select(y => FixTagName(y.Name)).ToArray()), Title = issue.Title, IssueId = issue.Id, IssueLinkUrl = issue.Html_Url, Number = issue.Number, User = MapUser(issue.User), State = issue.State }; }
protected bool Equals(GithubIssue other) { return(string.Equals(Id, other.Id)); }
protected bool Equals(GithubIssue other) { return string.Equals(Id, other.Id); }