10 instantiations of DeployingCallbackAnnotation
Aspire.Hosting.Azure (1)
AzureEnvironmentResource.cs (1)
51Annotations.Add(new DeployingCallbackAnnotation(DeployAsync));
Aspire.Hosting.Tests (9)
PublishingTests.cs (9)
58.WithAnnotation(new DeployingCallbackAnnotation(context => 87.WithAnnotation(new DeployingCallbackAnnotation(context => 116.WithAnnotation(new DeployingCallbackAnnotation(context => 123.WithAnnotation(new DeployingCallbackAnnotation(context => 148.WithAnnotation(new DeployingCallbackAnnotation(context => 211.WithAnnotation(new DeployingCallbackAnnotation(_ => throw new InvalidOperationException("Deploy failed!"))); 224.WithAnnotation(new DeployingCallbackAnnotation(_ => { called = "first"; return Task.CompletedTask; })) 225.WithAnnotation(new DeployingCallbackAnnotation(_ => { called = "second"; return Task.CompletedTask; })); 242.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)
47if (resource.HasAnnotationOfType<DeployingCallbackAnnotation>())