8 instantiations of MauiBuildQueueAnnotation
Aspire.Hosting.Maui (1)
MauiProjectResourceExtensions.cs (1)
68resource.Annotations.Add(new MauiBuildQueueAnnotation());
Aspire.Hosting.Maui.Tests (7)
MauiBuildQueueTests.cs (7)
25var annotation = new MauiBuildQueueAnnotation(); 33parent.Annotations.Add(new MauiBuildQueueAnnotation()); 40var annotation = new MauiBuildQueueAnnotation(); 426parent.Annotations.Add(new MauiBuildQueueAnnotation()); 948parent.Annotations.Add(new MauiBuildQueueAnnotation()); 979parent1.Annotations.Add(new MauiBuildQueueAnnotation()); 985parent2.Annotations.Add(new MauiBuildQueueAnnotation());
29 references to MauiBuildQueueAnnotation
Aspire.Hosting.Maui (4)
Lifecycle\MauiBuildQueueEventSubscriber.cs (4)
58if (!parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var queueAnnotation)) 337/// via the <see cref="MauiBuildQueueAnnotation.CancelResource"/> method, while delegating 340private void EnsureStopCommandReplaced(IResource resource, MauiBuildQueueAnnotation queueAnnotation)
Aspire.Hosting.Maui.Tests (25)
MauiBuildQueueTests.cs (25)
25var annotation = new MauiBuildQueueAnnotation(); 34Assert.True(parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out _)); 40var annotation = new MauiBuildQueueAnnotation(); 60Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 78Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 223Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 377Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 456Assert.True(parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 475Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 540Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 618Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 637Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 735Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 939Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation);