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