25 references to HttpValidationProblemDetails
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
HttpValidationProblemDetailsJsonConverterTest.cs (1)
17
var problemDetails = new
HttpValidationProblemDetails
();
Microsoft.AspNetCore.Http.Extensions.Tests (2)
ProblemDetailsDefaultWriterTest.cs (2)
252
var expectedProblem = new
HttpValidationProblemDetails
()
295
var expectedProblem = new
HttpValidationProblemDetails
()
Microsoft.AspNetCore.Http.Results.Tests (22)
AcceptedAtRouteOfTResultTests.cs (1)
26
var obj = new
HttpValidationProblemDetails
();
AcceptedOfTResultTests.cs (1)
53
var obj = new
HttpValidationProblemDetails
();
BadRequestOfTResultTests.cs (1)
36
var obj = new
HttpValidationProblemDetails
();
CreatedAtRouteOfTResultTests.cs (1)
27
var obj = new
HttpValidationProblemDetails
();
CreatedOfTResultTests.cs (1)
23
var obj = new
HttpValidationProblemDetails
();
InternalServerErrorOfTResultTests.cs (1)
36
var obj = new
HttpValidationProblemDetails
();
JsonResultTests.cs (2)
145
var details = new
HttpValidationProblemDetails
();
206
var details = new
HttpValidationProblemDetails
();
NotFoundOfTResultTests.cs (1)
21
var obj = new
HttpValidationProblemDetails
();
OkOfTResultTests.cs (1)
34
var obj = new
HttpValidationProblemDetails
();
ProblemResultTests.cs (1)
80
var details = new
HttpValidationProblemDetails
();
ResultsTests.cs (1)
1377
var problem = new
HttpValidationProblemDetails
{ Title = "Test title" };
TypedResultsTests.cs (1)
1169
var problem = new
HttpValidationProblemDetails
{ Title = "Test title" };
UnprocessableEntityOfTResultTests.cs (1)
22
var obj = new
HttpValidationProblemDetails
();
ValidationProblemResultTests.cs (8)
23
var details = new
HttpValidationProblemDetails
();
52
var details = new
HttpValidationProblemDetails
();
90
new
HttpValidationProblemDetails
{ Status = StatusCodes.Status413RequestEntityTooLarge, }));
115
var result = new ValidationProblem(
new
());
134
var result = Assert.IsAssignableFrom<IStatusCodeHttpResult>(new ValidationProblem(new
HttpValidationProblemDetails
()));
142
var value = new
HttpValidationProblemDetails
();
154
var value = new
HttpValidationProblemDetails
();
169
var result = Assert.IsAssignableFrom<IContentTypeHttpResult>(new ValidationProblem(
new
()));