1 write to ResponseHeadersDataClasses
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Logging\HttpLoggingServiceExtensionsTests.cs (1)
173
o.
ResponseHeadersDataClasses
= new Dictionary<string, DataClassification>
11 references to ResponseHeadersDataClasses
Microsoft.AspNetCore.Diagnostics.Middleware (4)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validators.g.cs (1)
132
if (!global::System.ComponentModel.DataAnnotations.Validator.TryValidateValue(options.
ResponseHeadersDataClasses
, context, validationResults, validationAttributes))
Logging\HttpLoggingRedactionInterceptor.cs (1)
60
_responseHeadersReader = new(optionsValue.
ResponseHeadersDataClasses
, redactorProvider, HttpLoggingTagNames.ResponseHeaderPrefix);
Logging\Internal\LoggingRedactionOptionsConfigureOptions.cs (2)
45
BindDataClassifications(_section.GetSection(nameof(LoggingRedactionOptions.
ResponseHeadersDataClasses
)), options.
ResponseHeadersDataClasses
);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (7)
Logging\AcceptanceTests.cs (2)
364
x.
ResponseHeadersDataClasses
.Add(HeaderNames.TransferEncoding, DataClassification.None);
435
x.
ResponseHeadersDataClasses
.Add(HeaderNames.TransferEncoding, DataClassification.None);
Logging\HttpLoggingServiceExtensionsTests.cs (5)
93
Assert.Equal(DataClassification.Unknown, options.
ResponseHeadersDataClasses
["Content-Type"]);
152
Assert.Empty(options.
ResponseHeadersDataClasses
);
190
Assert.Single(options.
ResponseHeadersDataClasses
);
191
Assert.Equal("Taxonomy3", options.
ResponseHeadersDataClasses
["three"].TaxonomyName);
192
Assert.Equal("Value3", options.
ResponseHeadersDataClasses
["three"].Value);