25 writes to ResponseHeadersDataClasses
Microsoft.Extensions.Http.Diagnostics.Tests (25)
Logging\AcceptanceTests.cs (10)
453options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test1", FakeTaxonomy.PrivateData } }; 460options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test2", FakeTaxonomy.PrivateData } }; 489options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test1", FakeTaxonomy.PrivateData } }; 496options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test2", FakeTaxonomy.PrivateData } }; 523options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test1", FakeTaxonomy.PrivateData } }; 529options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test2", FakeTaxonomy.PrivateData } }; 535options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test3", FakeTaxonomy.PrivateData } }; 541options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test4", FakeTaxonomy.PrivateData } }; 547options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test5", FakeTaxonomy.PrivateData } }; 552options.ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { "test6", FakeTaxonomy.PrivateData } };
Logging\HttpClientLoggerTest.cs (6)
204ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData }, { "Header3", FakeTaxonomy.PrivateData } }, 296ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } }, 403ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } }, 499ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } }, 613ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } }, 883ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { TestResponseHeader, FakeTaxonomy.PrivateData } },
Logging\HttpHeadersReaderTest.cs (2)
57ResponseHeadersDataClasses = new Dictionary<string, DataClassification> 120ResponseHeadersDataClasses = new Dictionary<string, DataClassification>
Logging\HttpRequestReaderTest.cs (6)
62ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData }, { header3.Key, FakeTaxonomy.PrivateData } }, 188ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } }, 262ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } }, 393ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } }, 464ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } }, 531ResponseHeadersDataClasses = new Dictionary<string, DataClassification> { { header2.Key, FakeTaxonomy.PrivateData } },
Logging\LoggingOptionsTest.cs (1)
93_sut.ResponseHeadersDataClasses = testHeaders;
20 references to ResponseHeadersDataClasses
Microsoft.Extensions.Http.Diagnostics (4)
Logging\Internal\HttpClientLogger.cs (1)
63_logResponseHeaders = options.ResponseHeadersDataClasses.Count > 0;
Logging\Internal\HttpHeadersReader.cs (1)
33_responseHeadersToLog = options.ResponseHeadersDataClasses.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase);
Logging\Internal\HttpRequestReader.cs (1)
88_logResponseHeaders = options.ResponseHeadersDataClasses.Count > 0;
Logging\LoggingOptions.cs (1)
157/// Keep this option disabled if <see cref="RequestHeadersDataClasses"/> or <see cref="ResponseHeadersDataClasses"/>
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (4)
HttpClientFactory.cs (4)
52options.ResponseHeadersDataClasses.Add("Content-Type", FakeTaxonomy.PrivateData); 79options.ResponseHeadersDataClasses.Add("Content-Type", FakeTaxonomy.PrivateData); 125options.ResponseHeadersDataClasses.Add("Content-Type", FakeTaxonomy.PrivateData); 152options.ResponseHeadersDataClasses.Add("Content-Type", FakeTaxonomy.PrivateData);
Microsoft.Extensions.Http.Diagnostics.Tests (12)
Logging\AcceptanceTests.cs (5)
139o.ResponseHeadersDataClasses.Add("ResponseHeader", FakeTaxonomy.PrivateData); 149o.ResponseHeadersDataClasses.Add("ResponseHeader", FakeTaxonomy.PrivateData); 218x.ResponseHeadersDataClasses.Add("ResponseHeader", FakeTaxonomy.PrivateData); 229x.ResponseHeadersDataClasses.Add("ResponseHeader", FakeTaxonomy.PrivateData); 663x.ResponseHeadersDataClasses.Add("ResponseHeader", FakeTaxonomy.PrivateData);
Logging\HttpClientLoggingExtensionsTest.cs (6)
172options.ResponseHeadersDataClasses.Add(responseHeader, FakeTaxonomy.PrivateData); 191options.ResponseHeadersDataClasses.Should().ContainSingle(); 192options.ResponseHeadersDataClasses.Should().Contain(responseHeader, FakeTaxonomy.PrivateData); 282options.ResponseHeadersDataClasses.Add(responseHeader, FakeTaxonomy.PrivateData); 301options.ResponseHeadersDataClasses.Should().ContainSingle(); 302options.ResponseHeadersDataClasses.Should().Contain(responseHeader, FakeTaxonomy.PrivateData);
Logging\LoggingOptionsTest.cs (1)
95_sut.ResponseHeadersDataClasses.Should().BeEquivalentTo(testHeaders);