mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
Implement dependency review and dependency submission Co-authored-by: André Pereira <Andre.LuisPereira@Student.HTW-Berlin.de>
31 lines
1.1 KiB
C#
31 lines
1.1 KiB
C#
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// A client for GitHub's Dependency Graph API.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// See the <a href="https://docs.github.com/en/rest/dependency-graph">Git Dependency Graph API documentation</a> for more information.
|
|
/// </remarks>
|
|
public class DependencyGraphClient : IDependencyGraphClient
|
|
{
|
|
/// <summary>
|
|
/// Instantiates a new GitHub Dependency Graph API client.
|
|
/// </summary>
|
|
/// <param name="apiConnection">An API connection</param>
|
|
public DependencyGraphClient(IApiConnection apiConnection)
|
|
{
|
|
DependencyReview = new DependencyReviewClient(apiConnection);
|
|
DependencySubmission = new DependencySubmissionClient(apiConnection);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Client for getting a dependency comparison between two commits.
|
|
/// </summary>
|
|
public IDependencyReviewClient DependencyReview { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Client for submitting dependency snapshots.
|
|
/// </summary>
|
|
public IDependencySubmissionClient DependencySubmission { get; private set; }
|
|
}
|
|
} |