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