3 writes to IncludeFailureMessage
Microsoft.AspNetCore.HostFiltering.Tests (3)
MiddlewareConfigurationManagerTests.cs (3)
22
IncludeFailureMessage
= true
48
IncludeFailureMessage
= includeFailureMessage
77
IncludeFailureMessage
= true
6 references to IncludeFailureMessage
Microsoft.AspNetCore.HostFiltering (3)
MiddlewareConfigurationManager.cs (3)
50
return new(true, options.AllowEmptyHosts, options.
IncludeFailureMessage
);
58
return new(false, options.AllowEmptyHosts, options.
IncludeFailureMessage
, allowedHosts.AsReadOnly());
93
return $"{{AllowedHosts = {string.Join("; ", hostFilteringOptions.AllowedHosts)}, AllowEmptyHosts = {hostFilteringOptions.AllowEmptyHosts}, IncludeFailureMessage = {hostFilteringOptions.
IncludeFailureMessage
}}}";
Microsoft.AspNetCore.HostFiltering.Tests (3)
MiddlewareConfigurationManagerTests.cs (3)
34
Assert.Equal(options.
IncludeFailureMessage
, configurationBeforeChange.IncludeFailureMessage);
57
Assert.Equal(newOption.
IncludeFailureMessage
, configurationAfterChange.IncludeFailureMessage);
87
Assert.Equal(options.
IncludeFailureMessage
, result1.IncludeFailureMessage);