19 references to RouteParameterDataClasses
Microsoft.Extensions.Http.Diagnostics (1)
Logging\Internal\HttpRequestReader.cs (1)
79_defaultSensitiveParameters = options.RouteParameterDataClasses.ToFrozenDictionary(StringComparer.Ordinal);
Microsoft.Extensions.Http.Diagnostics.Tests (18)
Logging\AcceptanceTests.cs (3)
301o.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 347o.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 412o.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData);
Logging\HttpClientLoggingExtensionsTest.cs (6)
173options.RouteParameterDataClasses.Add(paramToRedact); 193options.RouteParameterDataClasses.Should().ContainSingle(); 194options.RouteParameterDataClasses.Should().Contain(paramToRedact); 283options.RouteParameterDataClasses.Add(paramToRedact); 303options.RouteParameterDataClasses.Should().ContainSingle(); 304options.RouteParameterDataClasses.Should().Contain(paramToRedact);
Logging\HttpRequestReaderTest.cs (6)
195opts.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 269opts.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 341opts.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 400opts.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 471opts.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData); 538opts.RouteParameterDataClasses.Add("userId", FakeTaxonomy.PrivateData);
Logging\LoggingOptionsTest.cs (3)
128_sut.RouteParameterDataClasses.Add("foo", FakeTaxonomy.PrivateData); 129_sut.RouteParameterDataClasses.Add("bar", FakeTaxonomy.PrivateData); 131_sut.RouteParameterDataClasses.Should().BeEquivalentTo(paramsToRedacts);