Implemented interface member:
property
ContentType
Microsoft.AspNetCore.Http.IContentTypeHttpResult.ContentType
2 writes to ContentType
Microsoft.AspNetCore.Http.Results (2)
JsonHttpResultOfT.cs (2)
30ContentType = contentType; 50ContentType = contentType;
14 references to ContentType
Microsoft.AspNetCore.Http.Results (3)
JsonHttpResultOfT.cs (3)
118contentType: ContentType); 124contentType: ContentType); 131ContentType,
Microsoft.AspNetCore.Http.Results.Tests (11)
ResultsTests.cs (7)
944Assert.Equal(contentType, result.ContentType); 963Assert.Equal(contentType, result.ContentType); 976Assert.Null(result.ContentType); 989Assert.Null(result.ContentType); 1003Assert.Null(result.ContentType); 1017Assert.Null(result.ContentType); 1031Assert.Null(result.ContentType);
TypedResultsTests.cs (4)
839Assert.Equal(contentType, result.ContentType); 855Assert.Null(result.ContentType); 871Assert.Null(result.ContentType); 888Assert.Null(result.ContentType);