Ejemplo n.º 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public GitHubRepositoryClient(
     GitHubClient client,
     GitHubWebhookSecret webhookSecret,
     IFileSystem fileSystem,
     IOperationRunner operationRunner,
     IArchiveFactory archiveFactory)
 {
     _client          = client;
     _webhookSecret   = webhookSecret;
     _fileSystem      = fileSystem;
     _operationRunner = operationRunner;
     _archiveFactory  = archiveFactory;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public GitHubWebhookValidator(GitHubWebhookSecret webhookSecret)
 {
     _webhookSecret = webhookSecret;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public GitHubWebhookValidator(GitHubWebhookSecret webhookSecret)
 {
     _webhookSecret = webhookSecret;
 }