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
     };
 }
Esempio n. 3
0
 protected bool Equals(GithubIssue other)
 {
     return(string.Equals(Id, other.Id));
 }
Esempio n. 4
0
 protected bool Equals(GithubIssue other)
 {
     return string.Equals(Id, other.Id);
 }