21 references to Exists
Aspire.Hosting (15)
ApplicationModel\McpServerEndpointAnnotation.cs (1)
43
if (!endpoint.
Exists
)
Backchannel\AuxiliaryBackchannelRpcTarget.cs (1)
298
if (!mcpEndpoint.
Exists
)
Backchannel\DashboardUrlsHelper.cs (3)
70
var apiEndpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
71
if (apiEndpoint.
Exists
)
78
if (mcpEndpoint.
Exists
)
Dashboard\DashboardEventHandlers.cs (8)
393
var endpoint = httpsEndpoint.
Exists
? httpsEndpoint : httpEndpoint;
394
if (endpoint.
Exists
)
659
if (otlpGrpc.
Exists
)
665
if (otlpHttp.
Exists
)
671
if (!mcp.
Exists
)
675
if (!mcp.
Exists
)
681
if (mcp.
Exists
)
712
if (publicEndpoint.
Exists
)
ResourceBuilderExtensions.cs (2)
1365
if (endpoint.
Exists
)
1898
if (!endpoint.
Exists
)
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
138
Assert.False(endpointRef.
Exists
);
160
Assert.False(endpointRef.
Exists
);
178
Assert.False(endpointRef.
Exists
);
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
526
if (!targetEndpoint.
Exists
)
Aspire.Hosting.Yarp (2)
ConfigurationBuilder\YarpCluster.cs (2)
77
var hasHttpsEndpoint = endpoints.Any(e => e.
Exists
&& e.IsHttps);
78
var hasHttpEndpoint = endpoints.Any(e => e.
Exists
&& e.IsHttp);