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