32 references to Exists
Aspire.Hosting (18)
ApplicationModel\EndpointReference.cs (2)
88public bool TlsEnabled => Exists && EndpointAnnotation.TlsEnabled; 106public bool ExcludeReferenceEndpoint => Exists && EndpointAnnotation.ExcludeReferenceEndpoint;
ApplicationModel\McpServerEndpointAnnotation.cs (1)
43if (!endpoint.Exists)
Backchannel\DashboardUrlsHelper.cs (2)
95var apiEndpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 96if (apiEndpoint.Exists)
Dashboard\DashboardEventHandlers.cs (7)
523var endpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 524return endpoint.Exists 579return endpoint.Exists 628if (otlpHttp.Exists) 820if (otlpGrpc.Exists) 826if (otlpHttp.Exists) 853if (publicEndpoint.Exists)
ExternalServiceBuilderExtensions.cs (1)
474if (!_endpoint.Exists)
McpServerResourceBuilderExtensions.cs (1)
84if (!endpoint.Exists)
OtlpConfigurationExtensions.cs (2)
219return (requiredProtocol, grpcEndpoint.Exists, httpEndpoint.Exists) switch
ResourceBuilderExtensions.cs (2)
2236if (endpoint.Exists) 2824if (!endpoint.Exists)
Aspire.Hosting.Blazor (3)
BlazorGatewayExtensions.cs (2)
684return endpoint.Exists ? endpoint : null; 760if (httpEndpoint.Exists)
BlazorHostedExtensions.cs (1)
187return endpoint.Exists ? endpoint : null;
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
340Assert.False(endpointRef.Exists); 362Assert.False(endpointRef.Exists); 380Assert.False(endpointRef.Exists);
Aspire.Hosting.JavaScript (4)
JavaScriptHostingExtensions.cs (4)
1491if (!targetEndpoint.Exists) 1689if (!targetEndpoint.Exists) 2420var hasHttpsEndpoint = endpoints.Any(e => e.Exists && e.IsHttps); 2421var hasHttpEndpoint = endpoints.Any(e => e.Exists && e.IsHttp);
Aspire.Hosting.Maui (1)
MauiOtlpExtensions.cs (1)
212if (!endpointReference.Exists || endpointReference.EndpointAnnotation.AllocatedEndpoint is not { } allocatedEndpoint)
Aspire.Hosting.Testing (2)
DistributedApplicationHostingTestingExtensions.cs (2)
100var dashboardEndpoint = httpsEndpoint.Exists ? httpsEndpoint : httpEndpoint; 101if (!dashboardEndpoint.Exists)
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpCluster.cs (1)
129.Where(e => e.Exists && !e.ExcludeReferenceEndpoint && (e.IsHttp || e.IsHttps))