5 references to WithApiKey
Aspire.Hosting.GitHub.Models.Tests (5)
GitHubModelsExtensionTests.cs (5)
76
.
WithApiKey
(apiKeyParameter);
239
var exception = Assert.Throws<ArgumentException>(() => github.
WithApiKey
(apiKey));
253
var result = github.
WithApiKey
(apiKey);
267
github.
WithApiKey
(builder.AddParameter("secret-key1", secret: true));
272
github.
WithApiKey
(builder.AddParameter("secret-key2", secret: true));