39 references to Exists
Aspire.Hosting (20)
ApplicationModel\EndpointReference.cs (2)
88
public bool TlsEnabled =>
Exists
&& EndpointAnnotation.TlsEnabled;
106
public bool ExcludeReferenceEndpoint =>
Exists
&& EndpointAnnotation.ExcludeReferenceEndpoint;
ApplicationModel\McpServerEndpointAnnotation.cs (1)
43
if (!endpoint.
Exists
)
Backchannel\DashboardUrlsHelper.cs (2)
95
var apiEndpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
96
if (apiEndpoint.
Exists
)
Dashboard\DashboardEventHandlers.cs (7)
368
var endpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
369
return endpoint.
Exists
424
return endpoint.
Exists
473
if (otlpHttp.
Exists
)
665
if (otlpGrpc.
Exists
)
671
if (otlpHttp.
Exists
)
698
if (publicEndpoint.
Exists
)
Dcp\ExecutableCreator.cs (1)
141
!endpointReference.
Exists
||
ExternalServiceBuilderExtensions.cs (1)
474
if (!_endpoint.
Exists
)
McpServerResourceBuilderExtensions.cs (1)
84
if (!endpoint.
Exists
)
OtlpConfigurationExtensions.cs (2)
298
return (requiredProtocol, grpcEndpoint.
Exists
, httpEndpoint.
Exists
) switch
ResourceBuilderExtensions.cs (3)
2305
if (endpoint.
Exists
)
2344
if (endpoint.
Exists
)
2945
if (!endpoint.
Exists
)
Aspire.Hosting.Blazor (3)
BlazorGatewayExtensions.cs (2)
836
return endpoint.
Exists
? endpoint : null;
912
if (httpEndpoint.
Exists
)
BlazorHostedExtensions.cs (1)
277
return endpoint.
Exists
? endpoint : null;
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
444
Assert.False(endpointRef.
Exists
);
466
Assert.False(endpointRef.
Exists
);
484
Assert.False(endpointRef.
Exists
);
Aspire.Hosting.JavaScript (5)
DenoHostingExtensions.cs (1)
1416
if (!endpoint.
Exists
)
JavaScriptHostingExtensions.cs (4)
2035
if (!targetEndpoint.
Exists
)
2233
if (!targetEndpoint.
Exists
)
3139
var hasHttpsEndpoint = endpoints.Any(e => e.
Exists
&& e.IsHttps);
3140
var hasHttpEndpoint = endpoints.Any(e => e.
Exists
&& e.IsHttp);
Aspire.Hosting.Maui (4)
MauiOtlpExtensions.cs (4)
276
if (httpEndpoint.
Exists
)
320
if (!endpointReference.
Exists
|| endpointReference.EndpointAnnotation.AllocatedEndpoint is not { } allocatedEndpoint)
358
if (!endpointReference.
Exists
||
448
!endpointReference.
Exists
||
Aspire.Hosting.Radius (1)
Publishing\RadiusInfrastructureBuilder.cs (1)
4329
if (endpointReference.
Exists
)
Aspire.Hosting.Testing (2)
DistributedApplicationHostingTestingExtensions.cs (2)
100
var dashboardEndpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
101
if (!dashboardEndpoint.
Exists
)
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpCluster.cs (1)
129
.Where(e => e.
Exists
&& !e.ExcludeReferenceEndpoint && (e.IsHttp || e.IsHttps))