30 references to UriPartial
Aspire.Dashboard (2)
Model\TargetLocationInterceptor.cs (1)
22var targetBaseUri = new Uri(uri.GetLeftPart(UriPartial.Authority));
src\Shared\LoggingHelpers.cs (1)
23logger.LogInformation(message, $"{firstDashboardUrl.GetLeftPart(UriPartial.Authority)}/login?t={token}");
Aspire.Hosting (1)
src\Shared\LoggingHelpers.cs (1)
23logger.LogInformation(message, $"{firstDashboardUrl.GetLeftPart(UriPartial.Authority)}/login?t={token}");
Microsoft.AspNetCore.Authentication.Test (8)
OpenIdConnect\OpenIdConnectEventTests.cs (1)
970Assert.Equal("http://testhost/end", response.Headers.Location.GetLeftPart(UriPartial.Path));
OpenIdConnect\OpenIdConnectEventTests_Handler.cs (1)
970Assert.Equal("http://testhost/end", response.Headers.Location.GetLeftPart(UriPartial.Path));
WsFederation\WsFederationTest.cs (3)
76Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.Location.GetLeftPart(System.UriPartial.Path)); 92Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.Location.GetLeftPart(System.UriPartial.Path)); 108Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.Location.GetLeftPart(System.UriPartial.Path));
WsFederation\WsFederationTest_Handler.cs (3)
74Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.Location.GetLeftPart(System.UriPartial.Path)); 90Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.Location.GetLeftPart(System.UriPartial.Path)); 106Assert.Equal("https://login.windows.net/4afbc689-805b-48cf-a24c-d4aa3248a248/wsfed", response.Headers.Location.GetLeftPart(System.UriPartial.Path));
Microsoft.Extensions.AI (2)
ChatCompletion\OpenTelemetryChatClient.cs (1)
61_serverAddress = metadata.ProviderUri?.GetLeftPart(UriPartial.Path);
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
57_endpointAddress = metadata.ProviderUri?.GetLeftPart(UriPartial.Path);
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);
netstandard (1)
netstandard.cs (1)
2231[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.UriPartial))]
PresentationCore (3)
MS\Internal\WpfWebRequestHelper.cs (1)
62uri = new Uri(uri.GetLeftPart(UriPartial.Path));
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\MimeTypeMapper.cs (1)
127docstring = uri.GetLeftPart(UriPartial.Path);
System\Windows\Navigation\BaseUriHelper.cs (1)
446baseUri = new Uri(uri.GetLeftPart(UriPartial.Authority), UriKind.Absolute);
System (1)
src\libraries\shims\System\ref\System.cs (1)
932[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.UriPartial))]
System.Private.Uri (5)
System\Uri.cs (5)
1332public string GetLeftPart(UriPartial part) 1344case UriPartial.Scheme: 1348case UriPartial.Authority: 1366case UriPartial.Path: 1369case UriPartial.Query:
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
862[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.UriPartial))]
Templates.Blazor.Tests (1)
BlazorTemplateTest.cs (1)
173await page.GotoAsync(new Uri(page.Url).GetLeftPart(UriPartial.Authority));