31 writes to Detail
BasicWebSite (1)
Controllers\ContactApiController.cs (1)
107Detail = "Detail",
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (1)
256Detail = errorContext.Exception.Message,
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
HttpValidationProblemDetailsJsonConverterTest.cs (1)
22problemDetails.Detail = "Product not found";
ProblemDetailsJsonConverterTest.cs (2)
167Detail = "Product not found", 222Detail = "Product not found",
Microsoft.AspNetCore.Http.Extensions.Tests (11)
ProblemDetailsDefaultWriterTest.cs (11)
32Detail = "Custom Bad Request", 69Detail = "Custom Bad Request", 101Detail = "Custom Bad Request", 135Detail = "Custom Bad Request", 177Detail = "Custom Bad Request", 217Detail = "Custom Bad Request", 254Detail = "Custom Bad Request", 297Detail = "Custom Bad Request", 340Detail = "Custom Bad Request", 383Detail = "Custom Bad Request", 426Detail = "Custom Bad Request",
Microsoft.AspNetCore.Http.Results (3)
Results.cs (1)
804Detail = detail,
TypedResults.cs (2)
790Detail = detail, 859Detail = detail,
Microsoft.AspNetCore.Mvc.Core (4)
ControllerBase.cs (2)
1872Detail = detail, 1994Detail = detail,
Infrastructure\DefaultProblemDetailsFactory.cs (2)
53Detail = detail, 80Detail = detail,
Microsoft.AspNetCore.Mvc.Core.Test (2)
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (2)
28Detail = "Custom Bad Request", 65Detail = "Custom Bad Request",
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
ProblemDetailsWrapper.cs (1)
82ProblemDetails.Detail = value;
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (3)
ProblemDetailsWrapperTest.cs (1)
63Detail = "Some detail",
ValidationProblemDetailsWrapperTest.cs (2)
143Detail = "Some detail", 192Detail = "Some detail",
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
AnnotatedProblemDetails.cs (1)
53problemDetails.Detail = Detail;
XmlFormattersWebSite (1)
Controllers\XmlApiControllerBase.cs (1)
41Detail = "some detail",
76 references to Detail
Diagnostics.FunctionalTests (1)
DeveloperExceptionPageSampleTest.cs (1)
52Assert.Contains("Demonstration exception", body.Detail);
Microsoft.AspNetCore.Http.Abstractions.Tests (7)
HttpValidationProblemDetailsJsonConverterTest.cs (2)
38Assert.Equal(problemDetails.Detail, document.RootElement.GetProperty("detail").GetString()); 70Assert.Equal(detail, problemDetails.Detail);
ProblemDetailsJsonConverterTest.cs (5)
54Assert.Equal(detail, problemDetails.Detail); 85Assert.Equal(detail, problemDetails.Detail); 117Assert.Equal(detail, problemDetails.Detail); 175var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status},\"detail\":\"{value.Detail}\",\"instance\":\"{JsonEncodedText.Encode(value.Instance)}\",\"traceId\":\"{traceId}\",\"some-data\":[\"value1\",\"value2\"]}}"; 230var expected = $"{{\"type\":\"{JsonEncodedText.Encode(value.Type)}\",\"title\":\"{value.Title}\",\"status\":{value.Status},\"detail\":\"{value.Detail}\",\"instance\":\"{JsonEncodedText.Encode(value.Instance)}\",\"traceId\":null,\"some-data\":[\"value1\",\"value2\"]}}";
Microsoft.AspNetCore.Http.Extensions.Tests (19)
ProblemDetailsDefaultWriterTest.cs (18)
54Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 159Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 199Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 239Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 278Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 321Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 364Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 407Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 450Assert.Equal(expectedProblem.Detail, problemDetails.Detail);
RequestDelegateGenerator\RequestDelegateCreationTests.Filters.cs (1)
105Assert.Equal("New response", problemDetails.Detail);
Microsoft.AspNetCore.Http.Results (8)
Results.cs (4)
708/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 727/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 757/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 781/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param>
TypedResults.cs (4)
751/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 772/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 818/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 839/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param>
Microsoft.AspNetCore.Http.Results.Tests (13)
ResultsTests.cs (7)
1262Assert.Equal(detail, result.ProblemDetails.Detail); 1286Assert.Equal(detail, result.ProblemDetails.Detail); 1310Assert.Equal(detail, result.ProblemDetails.Detail); 1331Assert.Null(result.ProblemDetails.Detail); 1348Assert.Null(result.ProblemDetails.Detail); 1416Assert.Equal(detail, result.ProblemDetails.Detail); 1447Assert.Equal(detail, result.ProblemDetails.Detail);
TypedResultsTests.cs (6)
1078Assert.Equal(detail, result.ProblemDetails.Detail); 1102Assert.Equal(detail, result.ProblemDetails.Detail); 1123Assert.Null(result.ProblemDetails.Detail); 1140Assert.Null(result.ProblemDetails.Detail); 1203Assert.Equal(detail, result.ProblemDetails.Detail); 1229Assert.Equal(detail, result.ProblemDetails.Detail);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
1453Assert.Equal(detail, problem.Detail);
Microsoft.AspNetCore.Mvc.Core (7)
ControllerBase.cs (4)
1832/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 1851/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 1942/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 1966/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param>
Infrastructure\DefaultApiProblemDetailsWriter.cs (1)
61context.ProblemDetails.Detail,
Infrastructure\ProblemDetailsFactory.cs (2)
21/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param> 40/// <param name="detail">The value for <see cref="ProblemDetails.Detail" />.</param>
Microsoft.AspNetCore.Mvc.Core.Test (15)
ControllerBaseTest.cs (2)
2387Assert.Equal(detail, problemDetails.Detail); 2506Assert.Equal(detail, problemDetails.Detail);
Infrastructure\DefaultApiProblemDetailsWriterTest.cs (4)
50Assert.Equal(expectedProblem.Detail, problemDetails.Detail); 89Assert.Equal(expectedProblem.Detail, problemDetails.Detail);
Infrastructure\ProblemDetailsFactoryTest.cs (6)
26Assert.Null(problemDetails.Detail); 47Assert.Null(problemDetails.Detail); 70Assert.Equal(detail, problemDetails.Detail); 93Assert.Null(problemDetails.Detail); 123Assert.Null(problemDetails.Detail); 155Assert.Null(problemDetails.Detail);
Infrastructure\ProblemDetalsClientErrorFactoryTest.cs (2)
35Assert.Null(problemDetails.Detail); 63Assert.Null(problemDetails.Detail);
Infrastructure\ValidationProblemDetailsJsonConverterTest.cs (1)
36Assert.Equal(detail, problemDetails.Detail);
Microsoft.AspNetCore.Mvc.Formatters.Xml (2)
ProblemDetailsWrapper.cs (2)
117if (!string.IsNullOrEmpty(ProblemDetails.Detail)) 121ProblemDetails.Detail);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
AnnotatedProblemDetails.cs (1)
17Detail = problemDetails.Detail;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ControllerUnitTestabilityTests.cs (2)
695Assert.Equal(detail, problemDetails.Detail); 712Assert.Equal(detail, validationProblemDetails.Detail);