Implemented interface member:
property
ContentType
Microsoft.AspNetCore.Http.IContentTypeHttpResult.ContentType
16 references to ContentType
Microsoft.AspNetCore.Http.Results (1)
ProblemHttpResult.cs (1)
69ContentType);
Microsoft.AspNetCore.Http.Results.Tests (15)
ResultsTests.cs (9)
1264Assert.Equal("application/problem+json", result.ContentType); 1288Assert.Equal("application/problem+json", result.ContentType); 1312Assert.Equal("application/problem+json", result.ContentType); 1333Assert.Equal("application/problem+json", result.ContentType); 1350Assert.Equal("application/problem+json", result.ContentType); 1369Assert.Equal("application/problem+json", result.ContentType); 1385Assert.Equal("application/problem+json", result.ContentType); 1422Assert.Equal("application/problem+json", result.ContentType); 1453Assert.Equal("application/problem+json", result.ContentType);
TypedResultsTests.cs (6)
1080Assert.Equal("application/problem+json", result.ContentType); 1104Assert.Equal("application/problem+json", result.ContentType); 1125Assert.Equal("application/problem+json", result.ContentType); 1142Assert.Equal("application/problem+json", result.ContentType); 1161Assert.Equal("application/problem+json", result.ContentType); 1177Assert.Equal("application/problem+json", result.ContentType);