private async void LoadAssignees(Issue issue) { if (GitHubApi.Repository != null) { IReadOnlyList <User> assignees = await GitHubApi.GetAssignees(_repository); foreach (var assignee in assignees) { Assignees.Add(assignee); } if (issue != null && issue.Assignee != null) { SetAssignee(issue.Assignee); } } }
private async void LoadAssignees() { if (GitHubApi.Repository != null) { IReadOnlyList <User> assignees = await GitHubApi.GetAssignees(_repository); foreach (var assignee in assignees) { Assignees.Add(assignee); } if (_portedTfsItem != null) { SetTfsIssueAssignee(_portedTfsItem); } } }