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(); 402parent.Annotations.Add(new MauiBuildQueueAnnotation()); 1372parent.Annotations.Add(new MauiBuildQueueAnnotation()); 1403parent1.Annotations.Add(new MauiBuildQueueAnnotation()); 1409parent2.Annotations.Add(new MauiBuildQueueAnnotation());
47 references to MauiBuildQueueAnnotation
Aspire.Hosting.Maui (4)
Lifecycle\MauiBuildQueueEventSubscriber.cs (4)
78if (!parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var queueAnnotation)) 499/// via the <see cref="MauiBuildQueueAnnotation.CancelResource"/> method, while delegating 502private void EnsureStopCommandReplaced(IResource resource, MauiBuildQueueAnnotation queueAnnotation)
Aspire.Hosting.Maui.Tests (43)
MauiBuildQueueTests.cs (43)
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)); 198Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 352Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 433Assert.True(parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 452Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 519Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 571Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 648Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 667Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 737Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 794Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 821Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 862Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 909Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 951Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 999Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 1039Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 1129Assert.True(env.Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation)); 1363Parent.TryGetLastAnnotation<MauiBuildQueueAnnotation>(out var annotation);