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