9 instantiations of CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting (1)
ApplicationModel\CertificateTrustExecutionConfigurationGatherer.cs (1)
96var callbackContext = new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.Azure.Tests (1)
AzureCosmosDBExtensionsTests.cs (1)
727var context = new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.Java.Tests (1)
AddJavaAppTests.cs (1)
909await annotation.Callback(new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.JavaScript.Tests (5)
AddBunAppTests.cs (2)
256var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 284var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
AddDenoAppTests.cs (3)
2402var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2431var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2459var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.MongoDB.Tests (1)
MongoDBReplCommandTests.cs (1)
113var context = new CertificateTrustConfigurationCallbackAnnotationContext
13 references to CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting (5)
ApplicationModel\CertificateTrustConfigurationCallbackAnnotation.cs (2)
13public sealed class CertificateTrustConfigurationCallbackAnnotation(Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> callback) : IResourceAnnotation 18public Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback));
ApplicationModel\CertificateTrustExecutionConfigurationGatherer.cs (2)
96var callbackContext = new CertificateTrustConfigurationCallbackAnnotationContext 149/// Collection of custom certificate bundle generators added via the <see cref="CertificateTrustConfigurationCallbackAnnotationContext.CreateCustomBundle"/> method, keyed by the bundle's relative path under the root certificates path. The value is a function that generates the bundle contents as a byte array given a collection of X509 certificates and a cancellation token.
ResourceBuilderExtensions.cs (1)
4265public static IResourceBuilder<TResource> WithCertificateTrustConfiguration<TResource>(this IResourceBuilder<TResource> builder, Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> callback)
Aspire.Hosting.Azure.Tests (1)
AzureCosmosDBExtensionsTests.cs (1)
727var context = new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.Java (1)
JavaHostingExtensions.cs (1)
1686private static async Task JavaCertificateTrustCallback(CertificateTrustConfigurationCallbackAnnotationContext ctx)
Aspire.Hosting.JavaScript.Tests (5)
AddBunAppTests.cs (2)
256var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 284var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
AddDenoAppTests.cs (3)
2402var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2431var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2459var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.MongoDB.Tests (1)
MongoDBReplCommandTests.cs (1)
113var context = new CertificateTrustConfigurationCallbackAnnotationContext