11 instantiations of DeployingCallbackAnnotation
Aspire.Hosting.Azure (1)
AzureEnvironmentResource.cs (1)
49Annotations.Add(new DeployingCallbackAnnotation(DeployAsync));
Aspire.Hosting.Tests (10)
PublishingTests.cs (10)
58.WithAnnotation(new DeployingCallbackAnnotation(context => 94.WithAnnotation(new DeployingCallbackAnnotation(context => 129.WithAnnotation(new DeployingCallbackAnnotation(context => 154.WithAnnotation(new DeployingCallbackAnnotation(context => 161.WithAnnotation(new DeployingCallbackAnnotation(context => 186.WithAnnotation(new DeployingCallbackAnnotation(context => 250.WithAnnotation(new DeployingCallbackAnnotation(_ => throw new InvalidOperationException("Deploy failed!"))); 263.WithAnnotation(new DeployingCallbackAnnotation(_ => { called = "first"; return Task.CompletedTask; })) 264.WithAnnotation(new DeployingCallbackAnnotation(_ => { called = "second"; return Task.CompletedTask; })); 281.WithAnnotation(new DeployingCallbackAnnotation(context =>
4 references to DeployingCallbackAnnotation
Aspire.Hosting (4)
ApplicationModel\DeployingCallbackAnnotation.cs (1)
12/// Initializes a new instance of the <see cref="DeployingCallbackAnnotation"/> class.
Publishing\DeployingContext.cs (2)
76if (resource.TryGetLastAnnotation<DeployingCallbackAnnotation>(out var annotation))
Publishing\Publisher.cs (1)
53if (resource.HasAnnotationOfType<DeployingCallbackAnnotation>())