2using System.Threading.Tasks;
 
   22        Task 
CommentOnIssue(
string repoOwner, 
string repoName, 
string comment, 
int issueNumber, CancellationToken cancellationToken);
 
   33        Task 
AppendCommentOnIssue(
string repoOwner, 
string repoName, 
string comment, IssueComment issueComment, CancellationToken cancellationToken);
 
   44        ValueTask<IssueComment?> 
GetExistingCommentOnIssue(
string repoOwner, 
string repoName, 
string header, 
int issueNumber, CancellationToken cancellationToken);
 
   54        ValueTask<long> 
CreateDeployment(NewDeployment newDeployment, 
string repoOwner, 
string repoName, CancellationToken cancellationToken);
 
   65        Task 
CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus, 
string repoOwner, 
string repoName, 
long deploymentId, CancellationToken cancellationToken);
 
   75        Task 
CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus, 
long repoId, 
long deploymentId, CancellationToken cancellationToken);
 
 
IGitHubService that exposes functions that require authentication.
 
ValueTask< IssueComment?> GetExistingCommentOnIssue(string repoOwner, string repoName, string header, int issueNumber, CancellationToken cancellationToken)
Gets an IssueComment for a particular issueNumber  with the provided header  if it exists and is not ...
 
ValueTask< long > CreateDeployment(NewDeployment newDeployment, string repoOwner, string repoName, CancellationToken cancellationToken)
Create a newDeployment  on a target repostiory.
 
Task AppendCommentOnIssue(string repoOwner, string repoName, string comment, IssueComment issueComment, CancellationToken cancellationToken)
Append a comment on an existing issueComment .
 
Task CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus, long repoId, long deploymentId, CancellationToken cancellationToken)
Create a newDeploymentStatus  on a target deployment.
 
Task CommentOnIssue(string repoOwner, string repoName, string comment, int issueNumber, CancellationToken cancellationToken)
Create a comment on a given issueNumber .
 
Task CreateDeploymentStatus(NewDeploymentStatus newDeploymentStatus, string repoOwner, string repoName, long deploymentId, CancellationToken cancellationToken)
Create a newDeploymentStatus  on a target deployment.
 
Service for interacting with the GitHub API.