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)
301
o.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
347
o.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
412
o.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
Logging\HttpClientLoggingExtensionsTest.cs (6)
173
options.
RouteParameterDataClasses
.Add(paramToRedact);
193
options.
RouteParameterDataClasses
.Should().ContainSingle();
194
options.
RouteParameterDataClasses
.Should().Contain(paramToRedact);
283
options.
RouteParameterDataClasses
.Add(paramToRedact);
303
options.
RouteParameterDataClasses
.Should().ContainSingle();
304
options.
RouteParameterDataClasses
.Should().Contain(paramToRedact);
Logging\HttpRequestReaderTest.cs (6)
195
opts.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
269
opts.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
341
opts.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
400
opts.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
471
opts.
RouteParameterDataClasses
.Add("userId", FakeTaxonomy.PrivateData);
538
opts.
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);