2 instantiations of UnsupportedPlatformAnnotation
Aspire.Hosting.Maui (1)
MauiPlatformHelper.cs (1)
155resourceBuilder.WithAnnotation(new UnsupportedPlatformAnnotation(reason), ResourceAnnotationMutationBehavior.Append);
Aspire.Hosting.Maui.Tests (1)
MauiUnsupportedPlatformTests.cs (1)
144var annotation = new UnsupportedPlatformAnnotation(reason);
16 references to UnsupportedPlatformAnnotation
Aspire.Hosting.Maui (3)
Lifecycle\UnsupportedPlatformEventSubscriber.cs (3)
13/// marked with <see cref="UnsupportedPlatformAnnotation"/>. 31resource.TryGetLastAnnotation<UnsupportedPlatformAnnotation>(out var annotation))
Aspire.Hosting.Maui.Tests (13)
MauiUnsupportedPlatformTests.cs (13)
24var annotation = windows.Resource.Annotations.OfType<UnsupportedPlatformAnnotation>().FirstOrDefault(); 48var annotation = macCatalyst.Resource.Annotations.OfType<UnsupportedPlatformAnnotation>().FirstOrDefault(); 72var annotation = iosDevice.Resource.Annotations.OfType<UnsupportedPlatformAnnotation>().FirstOrDefault(); 96var annotation = iosSimulator.Resource.Annotations.OfType<UnsupportedPlatformAnnotation>().FirstOrDefault(); 121var annotation = androidDevice.Resource.Annotations.OfType<UnsupportedPlatformAnnotation>().FirstOrDefault(); 136var annotation = androidEmulator.Resource.Annotations.OfType<UnsupportedPlatformAnnotation>().FirstOrDefault(); 144var annotation = new UnsupportedPlatformAnnotation(reason);