8 instantiations of MauiBuildQueueAnnotation
Aspire.Hosting.Maui (1)
MauiProjectResourceExtensions.cs (1)
68resource.Annotations.Add(new MauiBuildQueueAnnotation());
Aspire.Hosting.Maui.Tests (7)
MauiBuildQueueTests.cs (7)
28var annotation = new MauiBuildQueueAnnotation(); 36parent.Annotations.Add(new MauiBuildQueueAnnotation()); 43var annotation = new MauiBuildQueueAnnotation(); 430parent.Annotations.Add(new MauiBuildQueueAnnotation()); 1356parent.Annotations.Add(new MauiBuildQueueAnnotation()); 1387parent1.Annotations.Add(new MauiBuildQueueAnnotation()); 1393parent2.Annotations.Add(new MauiBuildQueueAnnotation());
45 references to MauiBuildQueueAnnotation
Aspire.Hosting.Maui (4)
Lifecycle\MauiBuildQueueEventSubscriber.cs (4)
78if (!parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var queueAnnotation)) 495/// via the <see cref="MauiBuildQueueAnnotation.CancelResource"/> method, while delegating 498private void EnsureStopCommandReplaced(IResource resource, MauiBuildQueueAnnotation queueAnnotation)
Aspire.Hosting.Maui.Tests (41)
MauiBuildQueueTests.cs (41)
28var annotation = new MauiBuildQueueAnnotation(); 37Assert.True(parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out _)); 43var annotation = new MauiBuildQueueAnnotation(); 63Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 81Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 226Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 380Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 461Assert.True(parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 480Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 547Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 625Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 644Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 714Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 771Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 798Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 839Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 886Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 928Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 976Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 1016Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 1106Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 1347Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation);