13 references to GetLeftPart
Aspire.Dashboard (2)
Model\TargetLocationInterceptor.cs (1)
22var targetBaseUri = new Uri(uri.GetLeftPart(UriPartial.Authority));
src\Shared\LoggingHelpers.cs (1)
24var dashboardUrl = $"{firstDashboardUrl.GetLeftPart(UriPartial.Authority)}/login?t={token}";
Aspire.Hosting (3)
Backchannel\DashboardUrlsHelper.cs (1)
93apiBaseUrl = dashboardUri.GetLeftPart(UriPartial.Authority);
Dashboard\DashboardEventHandlers.cs (1)
400dashboardUrl = firstDashboardUrl.GetLeftPart(UriPartial.Authority);
src\Shared\LoggingHelpers.cs (1)
24var dashboardUrl = $"{firstDashboardUrl.GetLeftPart(UriPartial.Authority)}/login?t={token}";
Microsoft.Extensions.Http.Resilience (1)
Resilience\Internal\ByAuthorityPipelineKeyProvider.cs (1)
26pipelineKey = url.GetLeftPart(UriPartial.Authority);
Microsoft.Extensions.Http.Resilience.Tests (2)
Resilience\HttpClientBuilderExtensionsTests.BySelector.cs (2)
73.SelectPipelineBy(_ => r => r.RequestUri!.GetLeftPart(UriPartial.Scheme)).PipelineName; 79.SelectPipelineBy(_ => r => r.RequestUri!.GetLeftPart(UriPartial.Scheme)).PipelineName;
Microsoft.Extensions.ServiceDiscovery (1)
Http\HttpServiceEndpointResolver.cs (1)
42var key = request.RequestUri.GetLeftPart(UriPartial.Authority);
Microsoft.Extensions.ServiceDiscovery.Yarp (1)
ServiceDiscoveryDestinationResolver.cs (1)
58var serviceName = originalUri.GetLeftPart(UriPartial.Authority);
PresentationCore (3)
MS\Internal\WpfWebRequestHelper.cs (1)
61uri = new Uri(uri.GetLeftPart(UriPartial.Path));
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\MimeTypeMapper.cs (1)
126docstring = uri.GetLeftPart(UriPartial.Path);
System\Windows\Navigation\BaseUriHelper.cs (1)
445baseUri = new Uri(uri.GetLeftPart(UriPartial.Authority), UriKind.Absolute);