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)
254var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 282var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
AddDenoAppTests.cs (3)
2401var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2430var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2458var 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)
4515public 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)
1683private static async Task JavaCertificateTrustCallback(CertificateTrustConfigurationCallbackAnnotationContext ctx)
Aspire.Hosting.JavaScript.Tests (5)
AddBunAppTests.cs (2)
254var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 282var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
AddDenoAppTests.cs (3)
2401var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2430var ctx = new CertificateTrustConfigurationCallbackAnnotationContext 2458var ctx = new CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting.MongoDB.Tests (1)
MongoDBReplCommandTests.cs (1)
113var context = new CertificateTrustConfigurationCallbackAnnotationContext