11 writes to Uri
Microsoft.Extensions.Http.Resilience (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\BindingExtensions.g.cs (1)
471
instance.
Uri
= ParseSystemUri(value66, () => configuration.GetSection("Uri").Path);
Microsoft.Extensions.Http.Resilience.PerformanceTests (4)
HttpClientFactory.cs (4)
90
Uri
= new Uri(PrimaryEndpoint)
94
Uri
= new Uri(SecondaryEndpoint)
113
Uri
= new Uri(PrimaryEndpoint)
117
Uri
= new Uri(SecondaryEndpoint)
Microsoft.Extensions.Http.Resilience.Tests (6)
Hedging\StandardHedgingTests.cs (2)
317
Endpoints = [new WeightedUriEndpoint {
Uri
= new Uri($"https://{FailingEndpoint}:3000") }]
322
Endpoints = [new WeightedUriEndpoint {
Uri
= new Uri("https://microsoft.com") }]
Routing\OrderedRoutingStrategyTest.cs (3)
62
CreateGroup(new WeightedUriEndpoint {
Uri
= new Uri("https://b/"), Weight = 20 }),
70
options.Groups.Add(CreateGroup(new WeightedUriEndpoint {
Uri
= new Uri("https://c/"), Weight = 30 }));
109
return CreateGroup(endpoints.Select(v => new WeightedUriEndpoint {
Uri
= new Uri(v) }).ToArray());
Routing\WeightedRoutingStrategyTest.cs (1)
169
return CreateGroup(endpoints.Select(v => new WeightedUriEndpoint {
Uri
= new Uri(v) }).ToArray());
3 references to Uri
Microsoft.Extensions.Http.Resilience (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
454
if (!global::System.ComponentModel.DataAnnotations.Validator.TryValidateValue(options.
Uri
, context, validationResults, validationAttributes))
Routing\Internal\OrderedGroups\OrderedGroupsRoutingStrategy.cs (1)
41
nextRoute = group!.Endpoints.SelectByWeight(e => e.Weight, Randomizer!).
Uri
!;
Routing\Internal\WeightedGroups\WeightedGroupsRoutingStrategy.cs (1)
57
nextRoute = group!.Endpoints.SelectByWeight(e => e.Weight, Randomizer).
Uri
!;