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