4 instantiations of ContainerImagePushOptionsCallbackContext
Aspire.Hosting (1)
ApplicationModel\ResourceExtensions.cs (1)
1112var context = new ContainerImagePushOptionsCallbackContext
Aspire.Hosting.Tests (3)
ResourceExtensionsTests.cs (3)
323var context = new ContainerImagePushOptionsCallbackContext 371var context = new ContainerImagePushOptionsCallbackContext 426var context = new ContainerImagePushOptionsCallbackContext
18 references to ContainerImagePushOptionsCallbackContext
Aspire.Hosting (12)
ApplicationModel\ContainerImagePushOptionsCallbackAnnotation.cs (6)
14/// Use <see cref="ResourceBuilderExtensions.WithImagePushOptions{T}(IResourceBuilder{T}, Action{ContainerImagePushOptionsCallbackContext})"/> 15/// or <see cref="ResourceBuilderExtensions.WithImagePushOptions{T}(IResourceBuilder{T}, Func{ContainerImagePushOptionsCallbackContext, Task})"/> 26public ContainerImagePushOptionsCallbackAnnotation(Action<ContainerImagePushOptionsCallbackContext> callback) 42public ContainerImagePushOptionsCallbackAnnotation(Func<ContainerImagePushOptionsCallbackContext, Task> callback) 53/// An asynchronous function that accepts a <see cref="ContainerImagePushOptionsCallbackContext"/> and modifies 57public Func<ContainerImagePushOptionsCallbackContext, Task> Callback { get; }
ApplicationModel\ContainerImagePushOptionsCallbackContext.cs (1)
12/// This context is passed to callbacks registered via <see cref="ResourceBuilderExtensions.WithImagePushOptions{T}(IResourceBuilder{T}, Action{ContainerImagePushOptionsCallbackContext})"/>.
ApplicationModel\ResourceExtensions.cs (1)
1112var context = new ContainerImagePushOptionsCallbackContext
ResourceBuilderExtensions.cs (4)
3132/// The callback receives a <see cref="ContainerImagePushOptionsCallbackContext"/> that provides access to the resource 3150Action<ContainerImagePushOptionsCallbackContext> callback) 3170/// The callback receives a <see cref="ContainerImagePushOptionsCallbackContext"/> that provides access to the resource 3189Func<ContainerImagePushOptionsCallbackContext, Task> callback)
Aspire.Hosting.Tests (6)
ResourceExtensionsTests.cs (6)
323var context = new ContainerImagePushOptionsCallbackContext 350containerResource.WithImagePushOptions((Action<ContainerImagePushOptionsCallbackContext>)null!)); 371var context = new ContainerImagePushOptionsCallbackContext 389static void callback(ContainerImagePushOptionsCallbackContext context) => context.Options.RemoteImageTag = "test-tag"; 408var callback = async (ContainerImagePushOptionsCallbackContext context) => 426var context = new ContainerImagePushOptionsCallbackContext